diff --git a/.gitignore b/.gitignore index 67963529..422ceb9f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ reader/ts/src/*.js reader/ts/build bundles -reader/**/*.js \ No newline at end of file +reader/**/*.js +*.d.ts \ No newline at end of file diff --git a/definitions/http/data_type/array/http_header_map.json b/definitions/http/data_type/array/http_header_map.json deleted file mode 100644 index caaf030b..00000000 --- a/definitions/http/data_type/array/http_header_map.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "variant": 5, - "identifier": "HTTP_HEADER_MAP", - "name": [ - { - "code": "en-US", - "content": "HTTP Headers" - } - ], - "rules": [ - { - "config": { - "ParentType": { - "parent_type": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "DataTypeIdentifier": "HTTP_HEADER_ENTRY" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - } - } - } - } - ], - "generic_keys": [] -} \ No newline at end of file diff --git a/definitions/http/data_type/array/http_header_map.proto.json b/definitions/http/data_type/array/http_header_map.proto.json new file mode 100644 index 00000000..b490ba3b --- /dev/null +++ b/definitions/http/data_type/array/http_header_map.proto.json @@ -0,0 +1,34 @@ +{ + "variant": "ARRAY", + "identifier": "HTTP_HEADER_MAP", + "name": [ + { + "code": "en-US", + "content": "HTTP Headers" + } + ], + "rules": [ + { + "parentType": { + "parentType": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "dataTypeIdentifier": "HTTP_HEADER_ENTRY" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + } + } + } + ], + "genericKeys": [], + "version": null +} \ No newline at end of file diff --git a/definitions/http/data_type/object/http_header_entry.json b/definitions/http/data_type/object/http_header_entry.json deleted file mode 100644 index 48a164d6..00000000 --- a/definitions/http/data_type/object/http_header_entry.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "variant": 3, - "identifier": "HTTP_HEADER_ENTRY", - "name": [ - { - "code": "en-US", - "content": "HTTP Header Entry" - } - ], - "rules": [ - { - "config": { - "ContainsKey": { - "key": "key", - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } - } - } - } - }, - { - "config": { - "ContainsKey": { - "key": "value", - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } - } - } - } - }, - { - "config": { - "ParentType": { - "parent_type": { - "type": { - "DataTypeIdentifier": "OBJECT" - } - } - } - } - } - ], - "generic_keys": [] -} \ No newline at end of file diff --git a/definitions/http/data_type/object/http_header_entry.proto.json b/definitions/http/data_type/object/http_header_entry.proto.json new file mode 100644 index 00000000..b25630e3 --- /dev/null +++ b/definitions/http/data_type/object/http_header_entry.proto.json @@ -0,0 +1,36 @@ +{ + "variant": "OBJECT", + "identifier": "HTTP_HEADER_ENTRY", + "name": [ + { + "code": "en-US", + "content": "HTTP Header Entry" + } + ], + "rules": [ + { + "containsKey": { + "key": "key", + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" + } + } + }, + { + "containsKey": { + "key": "value", + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" + } + } + }, + { + "parentType": { + "parentType": { + "dataTypeIdentifier": "OBJECT" + } + } + } + ], + "genericKeys": [] +} \ No newline at end of file diff --git a/definitions/http/data_type/object/http_request.json b/definitions/http/data_type/object/http_request.json deleted file mode 100644 index f4c1bbba..00000000 --- a/definitions/http/data_type/object/http_request.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "variant": 3, - "identifier": "HTTP_REQUEST", - "name": [ - { - "code": "en-US", - "content": "HTTP Request" - } - ], - "rules": [ - { - "config": { - "ContainsKey": { - "key": "method", - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "HTTP_METHOD" - } - } - } - } - }, - { - "config": { - "ContainsKey": { - "key": "url", - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "HTTP_URL" - } - } - } - } - }, - { - "config": { - "ContainsKey": { - "key": "body", - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "OBJECT" - } - } - } - } - }, - { - "config": { - "ContainsKey": { - "key": "headers", - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "HTTP_HEADER_MAP" - } - } - } - } - }, - { - "config": { - "ParentType": { - "parent_type": { - "type": { - "DataTypeIdentifier": "OBJECT" - } - } - } - } - } - ], - "generic_keys": [] -} \ No newline at end of file diff --git a/definitions/http/data_type/object/http_request.proto.json b/definitions/http/data_type/object/http_request.proto.json new file mode 100644 index 00000000..08c6fc10 --- /dev/null +++ b/definitions/http/data_type/object/http_request.proto.json @@ -0,0 +1,52 @@ +{ + "variant": "OBJECT", + "identifier": "HTTP_REQUEST", + "name": [ + { + "code": "en-US", + "content": "HTTP Request" + } + ], + "rules": [ + { + "containsKey": { + "key": "method", + "dataTypeIdentifier": { + "dataTypeIdentifier": "HTTP_METHOD" + } + } + }, + { + "containsKey": { + "key": "url", + "dataTypeIdentifier": { + "dataTypeIdentifier": "HTTP_URL" + } + } + }, + { + "containsKey": { + "key": "body", + "dataTypeIdentifier": { + "dataTypeIdentifier": "OBJECT" + } + } + }, + { + "containsKey": { + "key": "headers", + "dataTypeIdentifier": { + "dataTypeIdentifier": "HTTP_HEADER_MAP" + } + } + }, + { + "parentType": { + "parentType": { + "dataTypeIdentifier": "OBJECT" + } + } + } + ], + "genericKeys": [] +} \ No newline at end of file diff --git a/definitions/http/data_type/object/http_response.json b/definitions/http/data_type/object/http_response.json deleted file mode 100644 index 7aee05b4..00000000 --- a/definitions/http/data_type/object/http_response.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "variant": 3, - "identifier": "HTTP_RESPONSE", - "name": [ - { - "code": "en-US", - "content": "HTTP Response" - } - ], - "rules": [ - { - "config": { - "ContainsKey": { - "key": "headers", - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "HTTP_HEADER_MAP" - } - } - } - } - }, - { - "config": { - "ContainsKey": { - "key": "body", - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "OBJECT" - } - } - } - } - }, - { - "config": { - "ParentType": { - "parent_type": { - "type": { - "DataTypeIdentifier": "OBJECT" - } - } - } - } - } - ], - "generic_keys": [] -} \ No newline at end of file diff --git a/definitions/http/data_type/object/http_response.proto.json b/definitions/http/data_type/object/http_response.proto.json new file mode 100644 index 00000000..61a3f2de --- /dev/null +++ b/definitions/http/data_type/object/http_response.proto.json @@ -0,0 +1,36 @@ +{ + "variant": "OBJECT", + "identifier": "HTTP_RESPONSE", + "name": [ + { + "code": "en-US", + "content": "HTTP Response" + } + ], + "rules": [ + { + "containsKey": { + "key": "headers", + "dataTypeIdentifier": { + "dataTypeIdentifier": "HTTP_HEADER_MAP" + } + } + }, + { + "containsKey": { + "key": "body", + "dataTypeIdentifier": { + "dataTypeIdentifier": "OBJECT" + } + } + }, + { + "parentType": { + "parentType": { + "dataTypeIdentifier": "OBJECT" + } + } + } + ], + "genericKeys": [] +} \ No newline at end of file diff --git a/definitions/http/data_type/type/http_method.json b/definitions/http/data_type/type/http_method.json deleted file mode 100644 index c300716d..00000000 --- a/definitions/http/data_type/type/http_method.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "variant": 2, - "identifier": "HTTP_METHOD", - "name": [ - { - "code": "en-US", - "content": "HTTP Method" - } - ], - "rules": [ - { - "config": { - "ItemOfCollection": { - "items": [ - { - "kind": { - "StringValue": "GET" - } - }, - { - "kind": { - "StringValue": "POST" - } - }, - { - "kind": { - "StringValue": "PUT" - } - }, - { - "kind": { - "StringValue": "DELETE" - } - }, - { - "kind": { - "StringValue": "PATCH" - } - }, - { - "kind": { - "StringValue": "HEAD" - } - } - ] - } - } - } - ], - "generic_keys": [] -} \ No newline at end of file diff --git a/definitions/http/data_type/type/http_method.proto.json b/definitions/http/data_type/type/http_method.proto.json new file mode 100644 index 00000000..621bd493 --- /dev/null +++ b/definitions/http/data_type/type/http_method.proto.json @@ -0,0 +1,37 @@ +{ + "variant": "TYPE", + "identifier": "HTTP_METHOD", + "name": [ + { + "code": "en-US", + "content": "HTTP Method" + } + ], + "rules": [ + { + "itemOfCollection": { + "items": [ + { + "stringValue": "GET" + }, + { + "stringValue": "POST" + }, + { + "stringValue": "PUT" + }, + { + "stringValue": "DELETE" + }, + { + "stringValue": "PATCH" + }, + { + "stringValue": "HEAD" + } + ] + } + } + ], + "genericKeys": [] +} \ No newline at end of file diff --git a/definitions/http/data_type/type/http_status_code.json b/definitions/http/data_type/type/http_status_code.proto.json similarity index 55% rename from definitions/http/data_type/type/http_status_code.json rename to definitions/http/data_type/type/http_status_code.proto.json index 0efc379f..54349899 100644 --- a/definitions/http/data_type/type/http_status_code.json +++ b/definitions/http/data_type/type/http_status_code.proto.json @@ -1,5 +1,5 @@ { - "variant": 2, + "variant": "TYPE", "identifier": "HTTP_STATUS_CODE", "name": [ { @@ -9,13 +9,11 @@ ], "rules": [ { - "config": { - "NumberRange": { - "from": 100, - "to": 599 - } + "numberRange": { + "from": 100, + "to": 599 } } ], - "generic_keys": [] + "genericKeys": [] } \ No newline at end of file diff --git a/definitions/http/data_type/type/http_url.json b/definitions/http/data_type/type/http_url.json deleted file mode 100644 index 9206d18e..00000000 --- a/definitions/http/data_type/type/http_url.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "variant": 2, - "identifier": "HTTP_URL", - "name": [ - { - "code": "en-US", - "content": "HTTP Route" - } - ], - "rules": [ - { - "config": { - "Regex": { - "pattern": "/^/\\w+(?:[.:~-]\\w+)*(?:/\\w+(?:[.:~-]\\w+)*)*$/" - } - } - } - ], - "generic_keys": [] -} \ No newline at end of file diff --git a/definitions/http/data_type/type/http_url.proto.json b/definitions/http/data_type/type/http_url.proto.json new file mode 100644 index 00000000..06717090 --- /dev/null +++ b/definitions/http/data_type/type/http_url.proto.json @@ -0,0 +1,18 @@ +{ + "variant": "TYPE", + "identifier": "HTTP_URL", + "name": [ + { + "code": "en-US", + "content": "HTTP Route" + } + ], + "rules": [ + { + "regex": { + "pattern": "/^/\\w+(?:[.:~-]\\w+)*(?:/\\w+(?:[.:~-]\\w+)*)*$/" + } + } + ], + "genericKeys": [] +} \ No newline at end of file diff --git a/definitions/http/flow_type/http.json b/definitions/http/flow_type/http.proto.json similarity index 83% rename from definitions/http/flow_type/http.json rename to definitions/http/flow_type/http.proto.json index 0ececf3c..23faf37b 100644 --- a/definitions/http/flow_type/http.json +++ b/definitions/http/flow_type/http.proto.json @@ -4,8 +4,8 @@ { "identifier": "HTTP_URL", "unique": false, - "data_type_identifier": "HTTP_URL", - "default_value": null, + "dataTypeIdentifier": "HTTP_URL", + "defaultValue": null, "name": [ { "code": "en-US", @@ -22,8 +22,8 @@ { "identifier": "HTTP_METHOD", "unique": false, - "data_type_identifier": "HTTP_METHOD", - "default_value": null, + "dataTypeIdentifier": "HTTP_METHOD", + "defaultValue": null, "name": [ { "code": "en-US", @@ -40,8 +40,8 @@ { "identifier": "HTTP_HOST", "unique": false, - "data_type_identifier": "TEXT", - "default_value": null, + "dataTypeIdentifier": "TEXT", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,8 +56,8 @@ ] } ], - "input_type_identifier": "HTTP_REQUEST", - "return_type_identifier": "HTTP_RESPONSE", + "inputTypeIdentifier": "HTTP_REQUEST", + "returnTypeIdentifier": "HTTP_RESPONSE", "editable": false, "name": [ { @@ -76,5 +76,6 @@ "code": "en-US", "content": "A REST API is a web service that lets clients interact with data on a server using standard HTTP methods like GET, POST, PUT, and DELETE usually returning results in JSON format." } - ] + ], + "version": null } \ No newline at end of file diff --git a/definitions/http/runtime_definition/control/http_control_respond.json b/definitions/http/runtime_definition/control/http_control_respond.proto.json similarity index 75% rename from definitions/http/runtime_definition/control/http_control_respond.json rename to definitions/http/runtime_definition/control/http_control_respond.proto.json index d2dc88fd..1e68c1a8 100644 --- a/definitions/http/runtime_definition/control/http_control_respond.json +++ b/definitions/http/runtime_definition/control/http_control_respond.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "http::control::respond", - "runtime_parameter_definitions": [ + "runtimeName": "http::control::respond", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "HTTP_RESPONSE" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "HTTP_RESPONSE" }, - "runtime_name": "http_response", - "default_value": null, + "runtimeName": "http_response", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,8 +27,8 @@ ] } ], - "return_type_identifier": null, - "deprecation_message": [], + "returnTypeIdentifier": null, + "deprecationMessage": [], "name": [ { "code": "en-US", @@ -49,6 +47,6 @@ "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." } ], - "throws_error": false, - "generic_keys": [] -} + "throwsError": false, + "genericKeys": [] +} \ No newline at end of file diff --git a/definitions/http/runtime_definition/request/http_request_create.json b/definitions/http/runtime_definition/request/http_request_create.proto.json similarity index 74% rename from definitions/http/runtime_definition/request/http_request_create.json rename to definitions/http/runtime_definition/request/http_request_create.proto.json index 6ee80567..000a1ba4 100644 --- a/definitions/http/runtime_definition/request/http_request_create.json +++ b/definitions/http/runtime_definition/request/http_request_create.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "http::request::create", - "runtime_parameter_definitions": [ + "runtimeName": "http::request::create", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "HTTP_METHOD" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "HTTP_METHOD" }, - "runtime_name": "http_method", - "default_value": null, + "runtimeName": "http_method", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "HTTP_HEADER_MAP" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "HTTP_HEADER_MAP" }, - "runtime_name": "headers", - "default_value": null, + "runtimeName": "headers", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "HTTP_URL" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "HTTP_URL" }, - "runtime_name": "url", - "default_value": null, + "runtimeName": "url", + "defaultValue": null, "name": [ { "code": "en-US", @@ -83,13 +77,11 @@ ] }, { - "data_type_identifier": { - "type": { - "GenericKey": "P" - } + "dataTypeIdentifier": { + "genericKey": "P" }, - "runtime_name": "payload", - "default_value": null, + "runtimeName": "payload", + "defaultValue": null, "name": [ { "code": "en-US", @@ -110,13 +102,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "HTTP_REQUEST" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "HTTP_REQUEST" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "P" ], "name": [ @@ -137,5 +127,5 @@ "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." } ], - "deprecation_message": [] -} + "deprecationMessage": [] +} \ No newline at end of file diff --git a/definitions/http/runtime_definition/response/http_response_create.json b/definitions/http/runtime_definition/response/http_response_create.proto.json similarity index 74% rename from definitions/http/runtime_definition/response/http_response_create.json rename to definitions/http/runtime_definition/response/http_response_create.proto.json index 43182088..07a88909 100644 --- a/definitions/http/runtime_definition/response/http_response_create.json +++ b/definitions/http/runtime_definition/response/http_response_create.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "http::response::create", - "runtime_parameter_definitions": [ + "runtimeName": "http::response::create", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "HTTP_STATUS_CODE" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "HTTP_STATUS_CODE" }, - "runtime_name": "http_status_code", - "default_value": null, + "runtimeName": "http_status_code", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "HTTP_HEADER_MAP" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "HTTP_HEADER_MAP" }, - "runtime_name": "headers", - "default_value": null, + "runtimeName": "headers", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] }, { - "data_type_identifier": { - "type": { - "GenericKey": "P" - } + "dataTypeIdentifier": { + "genericKey": "P" }, - "runtime_name": "payload", - "default_value": null, + "runtimeName": "payload", + "defaultValue": null, "name": [ { "code": "en-US", @@ -83,13 +77,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "HTTP_RESPONSE" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "HTTP_RESPONSE" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "P" ], "name": [ @@ -110,5 +102,5 @@ "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." } ], - "deprecation_message": [] -} + "deprecationMessage": [] +} \ No newline at end of file diff --git a/definitions/standard/data_type/array/array.json b/definitions/standard/data_type/array/array.json deleted file mode 100644 index d9f39290..00000000 --- a/definitions/standard/data_type/array/array.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "variant": 5, - "identifier": "ARRAY", - "name": [ - { - "code": "en-US", - "content": "Generic Array" - } - ], - "rules": [ - { - "config": { - "ContainsType": { - "data_type_identifier": { - "type": { - "GenericKey": "T" - } - } - } - } - } - ], - "generic_keys": [ - "T" - ] -} \ No newline at end of file diff --git a/definitions/standard/data_type/array/array.proto.json b/definitions/standard/data_type/array/array.proto.json new file mode 100644 index 00000000..742248ad --- /dev/null +++ b/definitions/standard/data_type/array/array.proto.json @@ -0,0 +1,22 @@ +{ + "variant": "ARRAY", + "identifier": "ARRAY", + "name": [ + { + "code": "en-US", + "content": "Generic Array" + } + ], + "rules": [ + { + "containsType": { + "dataTypeIdentifier": { + "genericKey": "T" + } + } + } + ], + "genericKeys": [ + "T" + ] +} \ No newline at end of file diff --git a/definitions/standard/data_type/node/comparator.json b/definitions/standard/data_type/node/comparator.json deleted file mode 100644 index a8bc7bb1..00000000 --- a/definitions/standard/data_type/node/comparator.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "variant": 7, - "identifier": "COMPARATOR", - "name": [ - { - "code": "en-US", - "content": "Comparator" - } - ], - "rules": [ - { - "config": { - "ReturnType": { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } - } - } - } - }, - { - "config": { - "InputTypes": { - "input_types": [ - { - "data_type_identifier": { - "type": { - "GenericKey": "I" - } - }, - "input_identifier": "left" - }, - { - "data_type_identifier": { - "type": { - "GenericKey": "I" - } - }, - "input_identifier": "right" - } - ] - } - } - } - ], - "generic_keys": [ - "I" - ] -} \ No newline at end of file diff --git a/definitions/standard/data_type/node/comparator.proto.json b/definitions/standard/data_type/node/comparator.proto.json new file mode 100644 index 00000000..7998332a --- /dev/null +++ b/definitions/standard/data_type/node/comparator.proto.json @@ -0,0 +1,40 @@ +{ + "variant": "NODE", + "identifier": "COMPARATOR", + "name": [ + { + "code": "en-US", + "content": "Comparator" + } + ], + "rules": [ + { + "returnType": { + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" + } + } + }, + { + "inputTypes": { + "inputTypes": [ + { + "dataTypeIdentifier": { + "genericKey": "I" + }, + "inputIdentifier": "left" + }, + { + "dataTypeIdentifier": { + "genericKey": "I" + }, + "inputIdentifier": "right" + } + ] + } + } + ], + "genericKeys": [ + "I" + ] +} \ No newline at end of file diff --git a/definitions/standard/data_type/node/consumer.json b/definitions/standard/data_type/node/consumer.json deleted file mode 100644 index a8457dff..00000000 --- a/definitions/standard/data_type/node/consumer.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "variant": 7, - "identifier": "CONSUMER", - "name": [ - { - "code": "en-US", - "content": "Consumer" - } - ], - "rules": [ - { - "config": { - "InputTypes": { - "input_types": [ - { - "data_type_identifier": { - "type": { - "GenericKey": "T" - } - }, - "input_identifier": "consumer" - } - ] - } - } - } - ], - "generic_keys": [ - "T" - ] -} \ No newline at end of file diff --git a/definitions/standard/data_type/node/consumer.proto.json b/definitions/standard/data_type/node/consumer.proto.json new file mode 100644 index 00000000..4dbed35b --- /dev/null +++ b/definitions/standard/data_type/node/consumer.proto.json @@ -0,0 +1,27 @@ +{ + "variant": "NODE", + "identifier": "CONSUMER", + "name": [ + { + "code": "en-US", + "content": "Consumer" + } + ], + "rules": [ + { + "inputTypes": { + "inputTypes": [ + { + "dataTypeIdentifier": { + "genericKey": "T" + }, + "inputIdentifier": "consumer" + } + ] + } + } + ], + "genericKeys": [ + "T" + ] +} \ No newline at end of file diff --git a/definitions/standard/data_type/node/predicate.json b/definitions/standard/data_type/node/predicate.json deleted file mode 100644 index 91e98073..00000000 --- a/definitions/standard/data_type/node/predicate.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "variant": 7, - "identifier": "PREDICATE", - "name": [ - { - "code": "en-US", - "content": "Predicate" - } - ], - "rules": [ - { - "config": { - "ReturnType": { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } - } - } - } - }, - { - "config": { - "InputTypes": { - "input_types": [ - { - "data_type_identifier": { - "type": { - "GenericKey": "T" - } - }, - "input_identifier": "predicate" - } - ] - } - } - } - ], - "generic_keys": [ - "T" - ] -} \ No newline at end of file diff --git a/definitions/standard/data_type/node/predicate.proto.json b/definitions/standard/data_type/node/predicate.proto.json new file mode 100644 index 00000000..16e3dba9 --- /dev/null +++ b/definitions/standard/data_type/node/predicate.proto.json @@ -0,0 +1,34 @@ +{ + "variant": "NODE", + "identifier": "PREDICATE", + "name": [ + { + "code": "en-US", + "content": "Predicate" + } + ], + "rules": [ + { + "returnType": { + "dataTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" + } + } + }, + { + "inputTypes": { + "inputTypes": [ + { + "dataTypeIdentifier": { + "genericKey": "T" + }, + "inputIdentifier": "predicate" + } + ] + } + } + ], + "genericKeys": [ + "T" + ] +} \ No newline at end of file diff --git a/definitions/standard/data_type/node/transform.json b/definitions/standard/data_type/node/transform.json deleted file mode 100644 index 69e02418..00000000 --- a/definitions/standard/data_type/node/transform.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "variant": 7, - "identifier": "TRANSFORM", - "name": [ - { - "code": "en-US", - "content": "Transform" - } - ], - "rules": [ - { - "config": { - "ReturnType": { - "data_type_identifier": { - "type": { - "GenericKey": "R" - } - } - } - } - }, - { - "config": { - "InputTypes": { - "input_types": [ - { - "data_type_identifier": { - "type": { - "GenericKey": "I" - } - }, - "input_identifier": "transform" - } - ] - } - } - } - ], - "generic_keys": [ - "I", - "R" - ] -} \ No newline at end of file diff --git a/definitions/standard/data_type/node/transform.proto.json b/definitions/standard/data_type/node/transform.proto.json new file mode 100644 index 00000000..c66db1ba --- /dev/null +++ b/definitions/standard/data_type/node/transform.proto.json @@ -0,0 +1,35 @@ +{ + "variant": "NODE", + "identifier": "TRANSFORM", + "name": [ + { + "code": "en-US", + "content": "Transform" + } + ], + "rules": [ + { + "returnType": { + "dataTypeIdentifier": { + "genericKey": "R" + } + } + }, + { + "inputTypes": { + "inputTypes": [ + { + "dataTypeIdentifier": { + "genericKey": "I" + }, + "inputIdentifier": "transform" + } + ] + } + } + ], + "genericKeys": [ + "I", + "R" + ] +} \ No newline at end of file diff --git a/definitions/standard/data_type/object/object.json b/definitions/standard/data_type/object/object.proto.json similarity index 74% rename from definitions/standard/data_type/object/object.json rename to definitions/standard/data_type/object/object.proto.json index 1f27e1f5..1df9d47c 100644 --- a/definitions/standard/data_type/object/object.json +++ b/definitions/standard/data_type/object/object.proto.json @@ -1,5 +1,5 @@ { - "variant": 2, + "variant": "TYPE", "identifier": "OBJECT", "name": [ { @@ -8,5 +8,5 @@ } ], "rules": [], - "generic_keys": [] + "genericKeys": [] } \ No newline at end of file diff --git a/definitions/standard/data_type/primitive/boolean.json b/definitions/standard/data_type/primitive/boolean.proto.json similarity index 54% rename from definitions/standard/data_type/primitive/boolean.json rename to definitions/standard/data_type/primitive/boolean.proto.json index 6989cad9..0af3072c 100644 --- a/definitions/standard/data_type/primitive/boolean.json +++ b/definitions/standard/data_type/primitive/boolean.proto.json @@ -1,5 +1,5 @@ { - "variant": 1, + "variant": "PRIMITIVE", "identifier": "BOOLEAN", "name": [ { @@ -9,12 +9,10 @@ ], "rules": [ { - "config": { - "Regex": { - "pattern": "^(true|false)$" - } + "regex": { + "pattern": "^(true|false)$" } } ], - "generic_keys": [] + "genericKeys": [] } \ No newline at end of file diff --git a/definitions/standard/data_type/primitive/number.json b/definitions/standard/data_type/primitive/number.json deleted file mode 100644 index 6a6b9ac5..00000000 --- a/definitions/standard/data_type/primitive/number.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "variant": 1, - "identifier": "NUMBER", - "name": [ - { - "code": "en-US", - "content": "Number" - } - ], - "rules": [ - { - "config": { - "Regex": { - "pattern": "/^(?:-(?:[1-9](?:\\d{0,2}(?:,\\d{3})+|\\d*))|(?:0|(?:[1-9](?:\\d{0,2}(?:,\\d{3})+|\\d*))))(?:.\\d+|)$/" - } - } - } - ], - "generic_keys": [] -} \ No newline at end of file diff --git a/definitions/standard/data_type/primitive/number.proto.json b/definitions/standard/data_type/primitive/number.proto.json new file mode 100644 index 00000000..460ef1e9 --- /dev/null +++ b/definitions/standard/data_type/primitive/number.proto.json @@ -0,0 +1,18 @@ +{ + "variant": "PRIMITIVE", + "identifier": "NUMBER", + "name": [ + { + "code": "en-US", + "content": "Number" + } + ], + "rules": [ + { + "regex": { + "pattern": "/^(?:-(?:[1-9](?:\\d{0,2}(?:,\\d{3})+|\\d*))|(?:0|(?:[1-9](?:\\d{0,2}(?:,\\d{3})+|\\d*))))(?:.\\d+|)$/" + } + } + ], + "genericKeys": [] +} \ No newline at end of file diff --git a/definitions/standard/data_type/primitive/text.json b/definitions/standard/data_type/primitive/text.proto.json similarity index 54% rename from definitions/standard/data_type/primitive/text.json rename to definitions/standard/data_type/primitive/text.proto.json index 251c69d3..ce40a190 100644 --- a/definitions/standard/data_type/primitive/text.json +++ b/definitions/standard/data_type/primitive/text.proto.json @@ -1,5 +1,5 @@ { - "variant": 1, + "variant": "PRIMITIVE", "identifier": "TEXT", "name": [ { @@ -9,12 +9,10 @@ ], "rules": [ { - "config": { - "Regex": { - "pattern": "[\\s\\S]*" - } + "regex": { + "pattern": "[\\s\\S]*" } } ], - "generic_keys": [] + "genericKeys": [] } \ No newline at end of file diff --git a/definitions/standard/data_type/type/text_encoding.json b/definitions/standard/data_type/type/text_encoding.json deleted file mode 100644 index 14bcb433..00000000 --- a/definitions/standard/data_type/type/text_encoding.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "variant": 2, - "identifier": "TEXT_ENCODING", - "name": [ - { - "code": "en-US", - "content": "Text Encoding" - } - ], - "rules": [ - { - "config": { - "ItemOfCollection": { - "items": [ - { - "kind": { - "StringValue": "BASE64" - } - } - ] - } - } - } - ], - "generic_keys": [] -} \ No newline at end of file diff --git a/definitions/standard/data_type/type/text_encoding.proto.json b/definitions/standard/data_type/type/text_encoding.proto.json new file mode 100644 index 00000000..1d829b24 --- /dev/null +++ b/definitions/standard/data_type/type/text_encoding.proto.json @@ -0,0 +1,22 @@ +{ + "variant": "TYPE", + "identifier": "TEXT_ENCODING", + "name": [ + { + "code": "en-US", + "content": "Text Encoding" + } + ], + "rules": [ + { + "itemOfCollection": { + "items": [ + { + "stringValue": "BASE64" + } + ] + } + } + ], + "genericKeys": [] +} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_at.json b/definitions/standard/runtime_definition/array/std_array_at.proto.json similarity index 60% rename from definitions/standard/runtime_definition/array/std_array_at.json rename to definitions/standard/runtime_definition/array/std_array_at.proto.json index d390d5cb..edca3f72 100644 --- a/definitions/standard/runtime_definition/array/std_array_at.json +++ b/definitions/standard/runtime_definition/array/std_array_at.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::at", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::at", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,13 +40,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "index", - "default_value": null, + "runtimeName": "index", + "defaultValue": null, "name": [ { "code": "en-US", @@ -71,13 +65,11 @@ ] } ], - "return_type_identifier": { - "type": { - "GenericKey": "R" - } + "returnTypeIdentifier": { + "genericKey": "R" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -98,5 +90,5 @@ "content": "Returns the element located at the given zero-based index within the input array." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_concat.json b/definitions/standard/runtime_definition/array/std_array_concat.json deleted file mode 100644 index 87c378f0..00000000 --- a/definitions/standard/runtime_definition/array/std_array_concat.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "runtime_name": "std::array::concat", - "runtime_parameter_definitions": [ - { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "runtime_name": "first", - "default_value": null, - "name": [ - { - "code": "en-US", - "content": "First Array" - } - ], - "description": [ - { - "code": "en-US", - "content": "The first array to concatenate." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "The first input array whose elements will appear at the beginning of the resulting array." - } - ] - }, - { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "runtime_name": "second", - "default_value": null, - "name": [ - { - "code": "en-US", - "content": "Second Array" - } - ], - "description": [ - { - "code": "en-US", - "content": "The second array to concatenate." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "The second input array whose elements will be appended after the elements of the first array." - } - ] - } - ], - "return_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "throws_error": false, - "generic_keys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Concatenate Arrays" - } - ], - "description": [ - { - "code": "en-US", - "content": "Concatenates two arrays into a single array." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "Returns a new array containing all elements of the first array followed by all elements of the second array." - } - ], - "deprecation_message": [] -} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_concat.proto.json b/definitions/standard/runtime_definition/array/std_array_concat.proto.json new file mode 100644 index 00000000..e4ef94e3 --- /dev/null +++ b/definitions/standard/runtime_definition/array/std_array_concat.proto.json @@ -0,0 +1,120 @@ +{ + "runtimeName": "std::array::concat", + "runtimeParameterDefinitions": [ + { + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "First Array" + } + ], + "description": [ + { + "code": "en-US", + "content": "The first array to concatenate." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "The first input array whose elements will appear at the beginning of the resulting array." + } + ] + }, + { + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Second Array" + } + ], + "description": [ + { + "code": "en-US", + "content": "The second array to concatenate." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "The second input array whose elements will be appended after the elements of the first array." + } + ] + } + ], + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "throwsError": false, + "genericKeys": [ + "R" + ], + "name": [ + { + "code": "en-US", + "content": "Concatenate Arrays" + } + ], + "description": [ + { + "code": "en-US", + "content": "Concatenates two arrays into a single array." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "Returns a new array containing all elements of the first array followed by all elements of the second array." + } + ], + "deprecationMessage": [] +} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_filter.json b/definitions/standard/runtime_definition/array/std_array_filter.json deleted file mode 100644 index 0458aea6..00000000 --- a/definitions/standard/runtime_definition/array/std_array_filter.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "runtime_name": "std::array::filter", - "runtime_parameter_definitions": [ - { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "runtime_name": "array", - "default_value": null, - "name": [ - { - "code": "en-US", - "content": "Input Array" - } - ], - "description": [ - { - "code": "en-US", - "content": "The array to be filtered." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "The original array from which elements will be selected based on the predicate." - } - ] - }, - { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "PREDICATE", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "runtime_name": "predicate", - "default_value": null, - "name": [ - { - "code": "en-US", - "content": "Filter Predicate" - } - ], - "description": [ - { - "code": "en-US", - "content": "A predicate function to test each element for inclusion in the result." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "A function that takes an element of the array and returns a boolean indicating whether the element should be included in the output array." - } - ] - } - ], - "return_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "throws_error": false, - "generic_keys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Filter Array" - } - ], - "description": [ - { - "code": "en-US", - "content": "Filters elements of an array based on a predicate." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "Returns a new array containing only the elements from the input array for which the predicate returns true." - } - ], - "deprecation_message": [] -} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_filter.proto.json b/definitions/standard/runtime_definition/array/std_array_filter.proto.json new file mode 100644 index 00000000..6f1569a9 --- /dev/null +++ b/definitions/standard/runtime_definition/array/std_array_filter.proto.json @@ -0,0 +1,120 @@ +{ + "runtimeName": "std::array::filter", + "runtimeParameterDefinitions": [ + { + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "runtimeName": "array", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input Array" + } + ], + "description": [ + { + "code": "en-US", + "content": "The array to be filtered." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "The original array from which elements will be selected based on the predicate." + } + ] + }, + { + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "PREDICATE", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "runtimeName": "predicate", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Filter Predicate" + } + ], + "description": [ + { + "code": "en-US", + "content": "A predicate function to test each element for inclusion in the result." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "A function that takes an element of the array and returns a boolean indicating whether the element should be included in the output array." + } + ] + } + ], + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "throwsError": false, + "genericKeys": [ + "R" + ], + "name": [ + { + "code": "en-US", + "content": "Filter Array" + } + ], + "description": [ + { + "code": "en-US", + "content": "Filters elements of an array based on a predicate." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "Returns a new array containing only the elements from the input array for which the predicate returns true." + } + ], + "deprecationMessage": [] +} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_find.json b/definitions/standard/runtime_definition/array/std_array_find.proto.json similarity index 53% rename from definitions/standard/runtime_definition/array/std_array_find.json rename to definitions/standard/runtime_definition/array/std_array_find.proto.json index 12d02806..d3aef839 100644 --- a/definitions/standard/runtime_definition/array/std_array_find.json +++ b/definitions/standard/runtime_definition/array/std_array_find.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::find", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::find", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,28 +40,24 @@ ] }, { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "PREDICATE", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "PREDICATE", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "predicate", - "default_value": null, + "runtimeName": "predicate", + "defaultValue": null, "name": [ { "code": "en-US", @@ -86,13 +78,11 @@ ] } ], - "return_type_identifier": { - "type": { - "GenericKey": "R" - } + "returnTypeIdentifier": { + "genericKey": "R" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -113,5 +103,5 @@ "content": "Returns the first element from the input array for which the predicate returns true. If no element matches, returns null or equivalent." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_find_index.json b/definitions/standard/runtime_definition/array/std_array_find_index.proto.json similarity index 52% rename from definitions/standard/runtime_definition/array/std_array_find_index.json rename to definitions/standard/runtime_definition/array/std_array_find_index.proto.json index 1b1c0758..8dc5032f 100644 --- a/definitions/standard/runtime_definition/array/std_array_find_index.json +++ b/definitions/standard/runtime_definition/array/std_array_find_index.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::find_index", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::find_index", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,28 +40,24 @@ ] }, { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "PREDICATE", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "PREDICATE", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "predicate", - "default_value": null, + "runtimeName": "predicate", + "defaultValue": null, "name": [ { "code": "en-US", @@ -86,13 +78,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -113,5 +103,5 @@ "content": "Returns the zero-based index of the first element for which the predicate returns true. If no element matches, returns -1." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_find_last.json b/definitions/standard/runtime_definition/array/std_array_find_last.proto.json similarity index 53% rename from definitions/standard/runtime_definition/array/std_array_find_last.json rename to definitions/standard/runtime_definition/array/std_array_find_last.proto.json index bff8d2af..046cf9fa 100644 --- a/definitions/standard/runtime_definition/array/std_array_find_last.json +++ b/definitions/standard/runtime_definition/array/std_array_find_last.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::find_last", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::find_last", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,28 +40,24 @@ ] }, { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "PREDICATE", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "PREDICATE", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "predicate", - "default_value": null, + "runtimeName": "predicate", + "defaultValue": null, "name": [ { "code": "en-US", @@ -86,13 +78,11 @@ ] } ], - "return_type_identifier": { - "type": { - "GenericKey": "R" - } + "returnTypeIdentifier": { + "genericKey": "R" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -113,5 +103,5 @@ "content": "Returns the last element from the input array for which the predicate returns true. If no element matches, returns null or equivalent." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_first.json b/definitions/standard/runtime_definition/array/std_array_first.proto.json similarity index 54% rename from definitions/standard/runtime_definition/array/std_array_first.json rename to definitions/standard/runtime_definition/array/std_array_first.proto.json index 7dd94711..dc566039 100644 --- a/definitions/standard/runtime_definition/array/std_array_first.json +++ b/definitions/standard/runtime_definition/array/std_array_first.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::first", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::first", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,13 +40,11 @@ ] } ], - "return_type_identifier": { - "type": { - "GenericKey": "R" - } + "returnTypeIdentifier": { + "genericKey": "R" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -71,5 +65,5 @@ "content": "This runtime returns the first element in the given array, if any." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_flat.json b/definitions/standard/runtime_definition/array/std_array_flat.json deleted file mode 100644 index 01a344c0..00000000 --- a/definitions/standard/runtime_definition/array/std_array_flat.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "runtime_name": "std::array::flat", - "runtime_parameter_definitions": [ - { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "runtime_name": "array", - "default_value": null, - "name": [ - { - "code": "en-US", - "content": "Nested Array" - } - ], - "description": [ - { - "code": "en-US", - "content": "The nested array to be flattened." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "An array containing sub-arrays that will be flattened into a single-level array." - } - ] - } - ], - "return_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "throws_error": false, - "generic_keys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Flatten Array" - } - ], - "description": [ - { - "code": "en-US", - "content": "Flattens a nested array into a single-level array." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "Returns a new array by concatenating all sub-arrays of the input nested array into one flat array." - } - ], - "deprecation_message": [] -} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_flat.proto.json b/definitions/standard/runtime_definition/array/std_array_flat.proto.json new file mode 100644 index 00000000..7f806f18 --- /dev/null +++ b/definitions/standard/runtime_definition/array/std_array_flat.proto.json @@ -0,0 +1,95 @@ +{ + "runtimeName": "std::array::flat", + "runtimeParameterDefinitions": [ + { + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "runtimeName": "array", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Nested Array" + } + ], + "description": [ + { + "code": "en-US", + "content": "The nested array to be flattened." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "An array containing sub-arrays that will be flattened into a single-level array." + } + ] + } + ], + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "throwsError": false, + "genericKeys": [ + "R" + ], + "name": [ + { + "code": "en-US", + "content": "Flatten Array" + } + ], + "description": [ + { + "code": "en-US", + "content": "Flattens a nested array into a single-level array." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "Returns a new array by concatenating all sub-arrays of the input nested array into one flat array." + } + ], + "deprecationMessage": [] +} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_for_each.json b/definitions/standard/runtime_definition/array/std_array_for_each.proto.json similarity index 53% rename from definitions/standard/runtime_definition/array/std_array_for_each.json rename to definitions/standard/runtime_definition/array/std_array_for_each.proto.json index cfa726d1..b6608cd9 100644 --- a/definitions/standard/runtime_definition/array/std_array_for_each.json +++ b/definitions/standard/runtime_definition/array/std_array_for_each.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::for_each", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::for_each", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,28 +40,24 @@ ] }, { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "CONSUMER", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "CONSUMER", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "consumer", - "default_value": null, + "runtimeName": "consumer", + "defaultValue": null, "name": [ { "code": "en-US", @@ -86,9 +78,9 @@ ] } ], - "return_type_identifier": null, - "throws_error": false, - "generic_keys": [ + "returnTypeIdentifier": null, + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -109,5 +101,5 @@ "content": "This runtime executes the given consumer function on each item in the array without returning a result." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_index_of.json b/definitions/standard/runtime_definition/array/std_array_index_of.proto.json similarity index 60% rename from definitions/standard/runtime_definition/array/std_array_index_of.json rename to definitions/standard/runtime_definition/array/std_array_index_of.proto.json index eeb6ecc4..0135673b 100644 --- a/definitions/standard/runtime_definition/array/std_array_index_of.json +++ b/definitions/standard/runtime_definition/array/std_array_index_of.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::index_of", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::index_of", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,13 +40,11 @@ ] }, { - "data_type_identifier": { - "type": { - "GenericKey": "R" - } + "dataTypeIdentifier": { + "genericKey": "R" }, - "runtime_name": "item", - "default_value": null, + "runtimeName": "item", + "defaultValue": null, "name": [ { "code": "en-US", @@ -71,13 +65,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -98,5 +90,5 @@ "content": "Returns the zero-based index of the first occurrence of a given item in the specified array. If the item is not found, it typically returns -1." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_is_empty.json b/definitions/standard/runtime_definition/array/std_array_is_empty.proto.json similarity index 52% rename from definitions/standard/runtime_definition/array/std_array_is_empty.json rename to definitions/standard/runtime_definition/array/std_array_is_empty.proto.json index ba715bee..48bbf861 100644 --- a/definitions/standard/runtime_definition/array/std_array_is_empty.json +++ b/definitions/standard/runtime_definition/array/std_array_is_empty.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::is_empty", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::is_empty", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,13 +40,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -71,5 +65,5 @@ "content": "Returns true if the array contains no elements, otherwise returns false." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_join.json b/definitions/standard/runtime_definition/array/std_array_join.proto.json similarity index 60% rename from definitions/standard/runtime_definition/array/std_array_join.json rename to definitions/standard/runtime_definition/array/std_array_join.proto.json index 701377b0..7fcbbf95 100644 --- a/definitions/standard/runtime_definition/array/std_array_join.json +++ b/definitions/standard/runtime_definition/array/std_array_join.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::join", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::join", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "DataTypeIdentifier": "TEXT" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "dataTypeIdentifier": "TEXT" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,13 +40,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "join_text", - "default_value": null, + "runtimeName": "join_text", + "defaultValue": null, "name": [ { "code": "en-US", @@ -71,13 +65,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -96,5 +88,5 @@ "content": "Applies a filter operation on the input text array and returns a single concatenated string of filtered elements joined by the provided join text." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_last.json b/definitions/standard/runtime_definition/array/std_array_last.proto.json similarity index 54% rename from definitions/standard/runtime_definition/array/std_array_last.json rename to definitions/standard/runtime_definition/array/std_array_last.proto.json index c6839b5e..36797ab4 100644 --- a/definitions/standard/runtime_definition/array/std_array_last.json +++ b/definitions/standard/runtime_definition/array/std_array_last.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::last", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::last", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,13 +40,11 @@ ] } ], - "return_type_identifier": { - "type": { - "GenericKey": "R" - } + "returnTypeIdentifier": { + "genericKey": "R" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -71,5 +65,5 @@ "content": "This runtime returns the last element in the given array, if any." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_map.json b/definitions/standard/runtime_definition/array/std_array_map.json deleted file mode 100644 index 815d1587..00000000 --- a/definitions/standard/runtime_definition/array/std_array_map.json +++ /dev/null @@ -1,144 +0,0 @@ -{ - "runtime_name": "std::array::map", - "runtime_parameter_definitions": [ - { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "IN" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "runtime_name": "array", - "default_value": null, - "name": [ - { - "code": "en-US", - "content": "Input Array" - } - ], - "description": [ - { - "code": "en-US", - "content": "The array to be transformed." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "Each element of this array will be passed through the transform function." - } - ] - }, - { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "TRANSFORM", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "IN" - } - } - ], - "target": "I", - "generic_combinations": [] - }, - { - "source": [ - { - "type": { - "GenericKey": "OUT" - } - } - ], - "target": "R", - "generic_combinations": [] - } - ] - } - } - }, - "runtime_name": "transform", - "default_value": null, - "name": [ - { - "code": "en-US", - "content": "Transform Function" - } - ], - "description": [ - { - "code": "en-US", - "content": "A function that transforms each item in the array." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "The transform function is applied to every element of the array to produce a new array." - } - ] - } - ], - "return_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "OUT" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "throws_error": false, - "generic_keys": [ - "IN", - "OUT" - ], - "name": [ - { - "code": "en-US", - "content": "Map Array" - } - ], - "description": [ - { - "code": "en-US", - "content": "Transforms each element in the array using the provided function." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "This runtime applies the transform function to each element in the array, producing a new array of the results." - } - ], - "deprecation_message": [] -} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_map.proto.json b/definitions/standard/runtime_definition/array/std_array_map.proto.json new file mode 100644 index 00000000..f7dcb6a4 --- /dev/null +++ b/definitions/standard/runtime_definition/array/std_array_map.proto.json @@ -0,0 +1,130 @@ +{ + "runtimeName": "std::array::map", + "runtimeParameterDefinitions": [ + { + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "IN" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "runtimeName": "array", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input Array" + } + ], + "description": [ + { + "code": "en-US", + "content": "The array to be transformed." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "Each element of this array will be passed through the transform function." + } + ] + }, + { + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "TRANSFORM", + "genericMappers": [ + { + "source": [ + { + "genericKey": "IN" + } + ], + "target": "I", + "genericCombinations": [] + }, + { + "source": [ + { + "genericKey": "OUT" + } + ], + "target": "R", + "genericCombinations": [] + } + ] + } + }, + "runtimeName": "transform", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Transform Function" + } + ], + "description": [ + { + "code": "en-US", + "content": "A function that transforms each item in the array." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "The transform function is applied to every element of the array to produce a new array." + } + ] + } + ], + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "OUT" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "throwsError": false, + "genericKeys": [ + "IN", + "OUT" + ], + "name": [ + { + "code": "en-US", + "content": "Map Array" + } + ], + "description": [ + { + "code": "en-US", + "content": "Transforms each element in the array using the provided function." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "This runtime applies the transform function to each element in the array, producing a new array of the results." + } + ], + "deprecationMessage": [] +} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_max.json b/definitions/standard/runtime_definition/array/std_array_max.proto.json similarity index 52% rename from definitions/standard/runtime_definition/array/std_array_max.json rename to definitions/standard/runtime_definition/array/std_array_max.proto.json index 4bc8f346..a3c4a118 100644 --- a/definitions/standard/runtime_definition/array/std_array_max.json +++ b/definitions/standard/runtime_definition/array/std_array_max.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::max", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::max", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,13 +40,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -71,5 +65,5 @@ "content": "Returns the largest number contained in the provided array." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_min.json b/definitions/standard/runtime_definition/array/std_array_min.proto.json similarity index 52% rename from definitions/standard/runtime_definition/array/std_array_min.json rename to definitions/standard/runtime_definition/array/std_array_min.proto.json index a2ee23e4..f4fcff8a 100644 --- a/definitions/standard/runtime_definition/array/std_array_min.json +++ b/definitions/standard/runtime_definition/array/std_array_min.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::min", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::min", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,13 +40,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -71,5 +65,5 @@ "content": "Returns the smallest number contained in the provided array." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_pop.json b/definitions/standard/runtime_definition/array/std_array_pop.proto.json similarity index 53% rename from definitions/standard/runtime_definition/array/std_array_pop.json rename to definitions/standard/runtime_definition/array/std_array_pop.proto.json index b3cd9503..a5ab984f 100644 --- a/definitions/standard/runtime_definition/array/std_array_pop.json +++ b/definitions/standard/runtime_definition/array/std_array_pop.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::pop", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::pop", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,13 +40,11 @@ ] } ], - "return_type_identifier": { - "type": { - "GenericKey": "R" - } + "returnTypeIdentifier": { + "genericKey": "R" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -71,5 +65,5 @@ "content": "Removes the last element from the specified array and returns it. The array is modified in place." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_push.json b/definitions/standard/runtime_definition/array/std_array_push.proto.json similarity index 57% rename from definitions/standard/runtime_definition/array/std_array_push.json rename to definitions/standard/runtime_definition/array/std_array_push.proto.json index cf237ef6..40fb0627 100644 --- a/definitions/standard/runtime_definition/array/std_array_push.json +++ b/definitions/standard/runtime_definition/array/std_array_push.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::push", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::push", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "I" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "I" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,13 +40,11 @@ ] }, { - "data_type_identifier": { - "type": { - "GenericKey": "I" - } + "dataTypeIdentifier": { + "genericKey": "I" }, - "runtime_name": "item", - "default_value": null, + "runtimeName": "item", + "defaultValue": null, "name": [ { "code": "en-US", @@ -71,13 +65,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "I" ], "name": [ @@ -98,5 +90,5 @@ "content": "Adds a new element to the end of the array and returns the new length of the array." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_remove.json b/definitions/standard/runtime_definition/array/std_array_remove.proto.json similarity index 53% rename from definitions/standard/runtime_definition/array/std_array_remove.json rename to definitions/standard/runtime_definition/array/std_array_remove.proto.json index 447d5cd7..7b87576d 100644 --- a/definitions/standard/runtime_definition/array/std_array_remove.json +++ b/definitions/standard/runtime_definition/array/std_array_remove.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::remove", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::remove", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,13 +40,11 @@ ] }, { - "data_type_identifier": { - "type": { - "GenericKey": "R" - } + "dataTypeIdentifier": { + "genericKey": "R" }, - "runtime_name": "item", - "default_value": null, + "runtimeName": "item", + "defaultValue": null, "name": [ { "code": "en-US", @@ -71,28 +65,24 @@ ] } ], - "return_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -113,5 +103,5 @@ "content": "Removes the first matching item from the given array and returns the resulting array." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_reverse.json b/definitions/standard/runtime_definition/array/std_array_reverse.json deleted file mode 100644 index f61b1a5e..00000000 --- a/definitions/standard/runtime_definition/array/std_array_reverse.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "runtime_name": "std::array::reverse", - "runtime_parameter_definitions": [ - { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "runtime_name": "array", - "default_value": null, - "name": [ - { - "code": "en-US", - "content": "Array" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input array to be reversed." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "An array of elements whose order will be reversed." - } - ] - } - ], - "return_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "throws_error": false, - "generic_keys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Reverse Array" - } - ], - "description": [ - { - "code": "en-US", - "content": "Reverses the order of elements in the array." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "Returns a new array with the elements of the input array in reverse order." - } - ], - "deprecation_message": [] -} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_reverse.proto.json b/definitions/standard/runtime_definition/array/std_array_reverse.proto.json new file mode 100644 index 00000000..7162d0ad --- /dev/null +++ b/definitions/standard/runtime_definition/array/std_array_reverse.proto.json @@ -0,0 +1,82 @@ +{ + "runtimeName": "std::array::reverse", + "runtimeParameterDefinitions": [ + { + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "runtimeName": "array", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Array" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input array to be reversed." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "An array of elements whose order will be reversed." + } + ] + } + ], + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "throwsError": false, + "genericKeys": [ + "R" + ], + "name": [ + { + "code": "en-US", + "content": "Reverse Array" + } + ], + "description": [ + { + "code": "en-US", + "content": "Reverses the order of elements in the array." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "Returns a new array with the elements of the input array in reverse order." + } + ], + "deprecationMessage": [] +} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_size.json b/definitions/standard/runtime_definition/array/std_array_size.proto.json similarity index 53% rename from definitions/standard/runtime_definition/array/std_array_size.json rename to definitions/standard/runtime_definition/array/std_array_size.proto.json index b65c24f2..252185b6 100644 --- a/definitions/standard/runtime_definition/array/std_array_size.json +++ b/definitions/standard/runtime_definition/array/std_array_size.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::size", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::size", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,13 +40,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -71,5 +65,5 @@ "content": "This function returns the count of elements present in the given array." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_sort.json b/definitions/standard/runtime_definition/array/std_array_sort.json deleted file mode 100644 index 2eca2da3..00000000 --- a/definitions/standard/runtime_definition/array/std_array_sort.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "runtime_name": "std::array::sort", - "runtime_parameter_definitions": [ - { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "runtime_name": "array", - "default_value": null, - "name": [ - { - "code": "en-US", - "content": "Array" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input array to be sorted." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "An array of elements that will be sorted using the provided comparator function." - } - ] - }, - { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "COMPARATOR", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "I", - "generic_combinations": [] - } - ] - } - } - }, - "runtime_name": "comparator", - "default_value": null, - "name": [ - { - "code": "en-US", - "content": "Comparator" - } - ], - "description": [ - { - "code": "en-US", - "content": "A comparator function used to determine the sort order of elements." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "A function that takes two elements and returns a negative, zero, or positive number to indicate their ordering." - } - ] - } - ], - "return_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "throws_error": false, - "generic_keys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Sort Array" - } - ], - "description": [ - { - "code": "en-US", - "content": "Sorts the elements of the array using the specified comparator." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "Returns a new array with the elements sorted according to the comparator function provided." - } - ], - "deprecation_message": [] -} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_sort.proto.json b/definitions/standard/runtime_definition/array/std_array_sort.proto.json new file mode 100644 index 00000000..108b74e6 --- /dev/null +++ b/definitions/standard/runtime_definition/array/std_array_sort.proto.json @@ -0,0 +1,120 @@ +{ + "runtimeName": "std::array::sort", + "runtimeParameterDefinitions": [ + { + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "runtimeName": "array", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Array" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input array to be sorted." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "An array of elements that will be sorted using the provided comparator function." + } + ] + }, + { + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "COMPARATOR", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "I", + "genericCombinations": [] + } + ] + } + }, + "runtimeName": "comparator", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Comparator" + } + ], + "description": [ + { + "code": "en-US", + "content": "A comparator function used to determine the sort order of elements." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "A function that takes two elements and returns a negative, zero, or positive number to indicate their ordering." + } + ] + } + ], + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "throwsError": false, + "genericKeys": [ + "R" + ], + "name": [ + { + "code": "en-US", + "content": "Sort Array" + } + ], + "description": [ + { + "code": "en-US", + "content": "Sorts the elements of the array using the specified comparator." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "Returns a new array with the elements sorted according to the comparator function provided." + } + ], + "deprecationMessage": [] +} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_sort_reverse.json b/definitions/standard/runtime_definition/array/std_array_sort_reverse.proto.json similarity index 53% rename from definitions/standard/runtime_definition/array/std_array_sort_reverse.json rename to definitions/standard/runtime_definition/array/std_array_sort_reverse.proto.json index 48b065fc..19c1637c 100644 --- a/definitions/standard/runtime_definition/array/std_array_sort_reverse.json +++ b/definitions/standard/runtime_definition/array/std_array_sort_reverse.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::array::sort_reverse", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::sort_reverse", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,28 +40,24 @@ ] }, { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "COMPARATOR", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "I", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "COMPARATOR", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "I", + "genericCombinations": [] + } + ] } }, - "runtime_name": "comparator", - "default_value": null, + "runtimeName": "comparator", + "defaultValue": null, "name": [ { "code": "en-US", @@ -86,11 +78,24 @@ ] } ], - "return_type_identifier": { - "type": null + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -111,5 +116,5 @@ "content": "Returns a new array with the elements sorted in descending order according to the comparator function provided." } ], - "deprecation_message": [] -} \ No newline at end of file + "deprecationMessage": [] +} diff --git a/definitions/standard/runtime_definition/array/std_array_sum.json b/definitions/standard/runtime_definition/array/std_array_sum.proto.json similarity index 51% rename from definitions/standard/runtime_definition/array/std_array_sum.json rename to definitions/standard/runtime_definition/array/std_array_sum.proto.json index 5fb880b3..dc0ef067 100644 --- a/definitions/standard/runtime_definition/array/std_array_sum.json +++ b/definitions/standard/runtime_definition/array/std_array_sum.proto.json @@ -1,29 +1,24 @@ { - "runtime_name": "std::array::sum", - "runtime_parameter_definitions": [ + "runtimeName": "std::array::sum", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "DataTypeIdentifier": "NUMBER" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "dataTypeIdentifier": "NUMBER" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "array", - "default_value": null, + "runtimeName": "array", "name": [ { "code": "en-US", @@ -44,13 +39,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -69,5 +62,5 @@ "content": "Adds up all numbers in the input array and returns their sum." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_to_unique.json b/definitions/standard/runtime_definition/array/std_array_to_unique.json deleted file mode 100644 index e0e5e509..00000000 --- a/definitions/standard/runtime_definition/array/std_array_to_unique.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "runtime_name": "std::array::to_unique", - "runtime_parameter_definitions": [ - { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "runtime_name": "array", - "default_value": null, - "name": [ - { - "code": "en-US", - "content": "Array" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input array from which duplicates will be removed." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "An array of elements that may contain duplicates. This function will remove any duplicate items and return a new array with unique values only." - } - ] - } - ], - "return_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "GenericKey": "R" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } - } - }, - "throws_error": false, - "generic_keys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "To Unique" - } - ], - "description": [ - { - "code": "en-US", - "content": "Removes duplicate elements from the input array." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "Returns a new array containing only the unique elements from the input array. The original order may or may not be preserved depending on the implementation." - } - ], - "deprecation_message": [] -} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/array/std_array_to_unique.proto.json b/definitions/standard/runtime_definition/array/std_array_to_unique.proto.json new file mode 100644 index 00000000..94c3d863 --- /dev/null +++ b/definitions/standard/runtime_definition/array/std_array_to_unique.proto.json @@ -0,0 +1,82 @@ +{ + "runtimeName": "std::array::to_unique", + "runtimeParameterDefinitions": [ + { + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "runtimeName": "array", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Array" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input array from which duplicates will be removed." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "An array of elements that may contain duplicates. This function will remove any duplicate items and return a new array with unique values only." + } + ] + } + ], + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "genericKey": "R" + } + ], + "target": "T", + "genericCombinations": [] + } + ] + } + }, + "throwsError": false, + "genericKeys": [ + "R" + ], + "name": [ + { + "code": "en-US", + "content": "To Unique" + } + ], + "description": [ + { + "code": "en-US", + "content": "Removes duplicate elements from the input array." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "Returns a new array containing only the unique elements from the input array. The original order may or may not be preserved depending on the implementation." + } + ], + "deprecationMessage": [] +} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/boolean/std_boolean_as_number.json b/definitions/standard/runtime_definition/boolean/std_boolean_as_number.proto.json similarity index 64% rename from definitions/standard/runtime_definition/boolean/std_boolean_as_number.json rename to definitions/standard/runtime_definition/boolean/std_boolean_as_number.proto.json index 5cbea4e9..8961c60c 100644 --- a/definitions/standard/runtime_definition/boolean/std_boolean_as_number.json +++ b/definitions/standard/runtime_definition/boolean/std_boolean_as_number.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::boolean::as_number", - "runtime_parameter_definitions": [ + "runtimeName": "std::boolean::as_number", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Converts a boolean value to a number." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/boolean/std_boolean_as_text.json b/definitions/standard/runtime_definition/boolean/std_boolean_as_text.proto.json similarity index 64% rename from definitions/standard/runtime_definition/boolean/std_boolean_as_text.json rename to definitions/standard/runtime_definition/boolean/std_boolean_as_text.proto.json index 0414734d..531ba880 100644 --- a/definitions/standard/runtime_definition/boolean/std_boolean_as_text.json +++ b/definitions/standard/runtime_definition/boolean/std_boolean_as_text.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::boolean::as_text", - "runtime_parameter_definitions": [ + "runtimeName": "std::boolean::as_text", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Converts a boolean value to a text string." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/boolean/std_boolean_from_number.json b/definitions/standard/runtime_definition/boolean/std_boolean_from_number.proto.json similarity index 65% rename from definitions/standard/runtime_definition/boolean/std_boolean_from_number.json rename to definitions/standard/runtime_definition/boolean/std_boolean_from_number.proto.json index 19e6af1a..4b81edcc 100644 --- a/definitions/standard/runtime_definition/boolean/std_boolean_from_number.json +++ b/definitions/standard/runtime_definition/boolean/std_boolean_from_number.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::boolean::from_number", - "runtime_parameter_definitions": [ + "runtimeName": "std::boolean::from_number", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Converts a number to a boolean value. Typically, 0 maps to false and non-zero maps to true." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/boolean/std_boolean_from_text.json b/definitions/standard/runtime_definition/boolean/std_boolean_from_text.proto.json similarity index 65% rename from definitions/standard/runtime_definition/boolean/std_boolean_from_text.json rename to definitions/standard/runtime_definition/boolean/std_boolean_from_text.proto.json index e4b2fc00..49b4e113 100644 --- a/definitions/standard/runtime_definition/boolean/std_boolean_from_text.json +++ b/definitions/standard/runtime_definition/boolean/std_boolean_from_text.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::boolean::from_text", - "runtime_parameter_definitions": [ + "runtimeName": "std::boolean::from_text", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Converts a text string to a boolean value. Recognizes 'true' and 'false' (case-insensitive)." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/boolean/std_boolean_is_equal.json b/definitions/standard/runtime_definition/boolean/std_boolean_is_equal.proto.json similarity index 67% rename from definitions/standard/runtime_definition/boolean/std_boolean_is_equal.json rename to definitions/standard/runtime_definition/boolean/std_boolean_is_equal.proto.json index ba8b033d..3dd756a0 100644 --- a/definitions/standard/runtime_definition/boolean/std_boolean_is_equal.json +++ b/definitions/standard/runtime_definition/boolean/std_boolean_is_equal.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::boolean::is_equal", - "runtime_parameter_definitions": [ + "runtimeName": "std::boolean::is_equal", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "runtime_name": "first", - "default_value": null, + "runtimeName": "first", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "runtime_name": "second", - "default_value": null, + "runtimeName": "second", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Compares two boolean values for equality. Returns true if they are the same, false otherwise." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/boolean/std_boolean_negate.json b/definitions/standard/runtime_definition/boolean/std_boolean_negate.proto.json similarity index 62% rename from definitions/standard/runtime_definition/boolean/std_boolean_negate.json rename to definitions/standard/runtime_definition/boolean/std_boolean_negate.proto.json index 601b81a9..b0fc7a22 100644 --- a/definitions/standard/runtime_definition/boolean/std_boolean_negate.json +++ b/definitions/standard/runtime_definition/boolean/std_boolean_negate.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::boolean::negate", - "runtime_parameter_definitions": [ + "runtimeName": "std::boolean::negate", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Negates a boolean value." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/control/std_control_return.json b/definitions/standard/runtime_definition/control/std_control_return.proto.json similarity index 73% rename from definitions/standard/runtime_definition/control/std_control_return.json rename to definitions/standard/runtime_definition/control/std_control_return.proto.json index 42578f76..2236b9b2 100644 --- a/definitions/standard/runtime_definition/control/std_control_return.json +++ b/definitions/standard/runtime_definition/control/std_control_return.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::control::return", - "runtime_parameter_definitions": [ + "runtimeName": "std::control::return", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericKey": "R" - } + "dataTypeIdentifier": { + "genericKey": "R" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "GenericKey": "R" - } + "returnTypeIdentifier": { + "genericKey": "R" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "R" ], "name": [ @@ -56,5 +52,5 @@ "content": "Ends the current context and returns the specified value to the upper scope. This node behaves like a standard 'return' statement in programming languages, stopping further execution within the current flow." } ], - "deprecation_message": [] -} + "deprecationMessage": [] +} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/control/std_control_stop.json b/definitions/standard/runtime_definition/control/std_control_stop.proto.json similarity index 74% rename from definitions/standard/runtime_definition/control/std_control_stop.json rename to definitions/standard/runtime_definition/control/std_control_stop.proto.json index dcee7789..fbe66053 100644 --- a/definitions/standard/runtime_definition/control/std_control_stop.json +++ b/definitions/standard/runtime_definition/control/std_control_stop.proto.json @@ -1,9 +1,9 @@ { - "runtime_name": "std::control::stop", - "runtime_parameter_definitions": [], - "return_type_identifier": null, - "throws_error": false, - "generic_keys": [], + "runtimeName": "std::control::stop", + "runtimeParameterDefinitions": [], + "returnTypeIdentifier": null, + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -22,5 +22,5 @@ "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." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_abs.json b/definitions/standard/runtime_definition/number/std_number_abs.proto.json similarity index 67% rename from definitions/standard/runtime_definition/number/std_number_abs.json rename to definitions/standard/runtime_definition/number/std_number_abs.proto.json index 0248affa..cf222e49 100644 --- a/definitions/standard/runtime_definition/number/std_number_abs.json +++ b/definitions/standard/runtime_definition/number/std_number_abs.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::abs", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::abs", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Removes the sign from the input number, returning its non-negative value." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_add.json b/definitions/standard/runtime_definition/number/std_number_add.proto.json similarity index 66% rename from definitions/standard/runtime_definition/number/std_number_add.json rename to definitions/standard/runtime_definition/number/std_number_add.proto.json index 5b00d9ea..e6b64b9e 100644 --- a/definitions/standard/runtime_definition/number/std_number_add.json +++ b/definitions/standard/runtime_definition/number/std_number_add.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::add", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::add", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "first", - "default_value": null, + "runtimeName": "first", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "second", - "default_value": null, + "runtimeName": "second", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Adds two numbers together." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_arccos.json b/definitions/standard/runtime_definition/number/std_number_arccos.proto.json similarity index 67% rename from definitions/standard/runtime_definition/number/std_number_arccos.json rename to definitions/standard/runtime_definition/number/std_number_arccos.proto.json index d82891dc..e1d8be95 100644 --- a/definitions/standard/runtime_definition/number/std_number_arccos.json +++ b/definitions/standard/runtime_definition/number/std_number_arccos.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::arccos", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::arccos", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Computes the angle in radians whose cosine is the given number." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_arcsin.json b/definitions/standard/runtime_definition/number/std_number_arcsin.proto.json similarity index 66% rename from definitions/standard/runtime_definition/number/std_number_arcsin.json rename to definitions/standard/runtime_definition/number/std_number_arcsin.proto.json index 3b1a5351..376f13d4 100644 --- a/definitions/standard/runtime_definition/number/std_number_arcsin.json +++ b/definitions/standard/runtime_definition/number/std_number_arcsin.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::arcsin", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::arcsin", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Computes the angle in radians whose sine is the given number." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_arctan.json b/definitions/standard/runtime_definition/number/std_number_arctan.proto.json similarity index 66% rename from definitions/standard/runtime_definition/number/std_number_arctan.json rename to definitions/standard/runtime_definition/number/std_number_arctan.proto.json index cd7d2b89..4f895863 100644 --- a/definitions/standard/runtime_definition/number/std_number_arctan.json +++ b/definitions/standard/runtime_definition/number/std_number_arctan.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::arctan", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::arctan", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Computes the angle in radians whose tangent is the given number." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_as_text.json b/definitions/standard/runtime_definition/number/std_number_as_text.proto.json similarity index 66% rename from definitions/standard/runtime_definition/number/std_number_as_text.json rename to definitions/standard/runtime_definition/number/std_number_as_text.proto.json index 9ca2bf7b..e6aaf8cc 100644 --- a/definitions/standard/runtime_definition/number/std_number_as_text.json +++ b/definitions/standard/runtime_definition/number/std_number_as_text.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::as_text", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::as_text", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "number", - "default_value": null, + "runtimeName": "number", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Transforms the given numeric value into a string format." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_clamp.json b/definitions/standard/runtime_definition/number/std_number_clamp.proto.json similarity index 69% rename from definitions/standard/runtime_definition/number/std_number_clamp.json rename to definitions/standard/runtime_definition/number/std_number_clamp.proto.json index 00de2dc4..c09c4181 100644 --- a/definitions/standard/runtime_definition/number/std_number_clamp.json +++ b/definitions/standard/runtime_definition/number/std_number_clamp.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::clamp", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::clamp", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "min", - "default_value": null, + "runtimeName": "min", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "max", - "default_value": null, + "runtimeName": "max", + "defaultValue": null, "name": [ { "code": "en-US", @@ -83,13 +77,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -108,5 +100,5 @@ "content": "Returns the given number clamped between the minimum and maximum bounds." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_cos.json b/definitions/standard/runtime_definition/number/std_number_cos.proto.json similarity index 66% rename from definitions/standard/runtime_definition/number/std_number_cos.json rename to definitions/standard/runtime_definition/number/std_number_cos.proto.json index 8ca27dfb..2f7e7e79 100644 --- a/definitions/standard/runtime_definition/number/std_number_cos.json +++ b/definitions/standard/runtime_definition/number/std_number_cos.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::cos", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::cos", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "radians", - "default_value": null, + "runtimeName": "radians", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Calculates the cosine value of the input angle measured in radians." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_cosh.json b/definitions/standard/runtime_definition/number/std_number_cosh.proto.json similarity index 66% rename from definitions/standard/runtime_definition/number/std_number_cosh.json rename to definitions/standard/runtime_definition/number/std_number_cosh.proto.json index c525f51e..d4e98787 100644 --- a/definitions/standard/runtime_definition/number/std_number_cosh.json +++ b/definitions/standard/runtime_definition/number/std_number_cosh.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::cosh", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::cosh", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Calculates the hyperbolic cosine (cosh) of the input value." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_divide.json b/definitions/standard/runtime_definition/number/std_number_divide.proto.json similarity index 69% rename from definitions/standard/runtime_definition/number/std_number_divide.json rename to definitions/standard/runtime_definition/number/std_number_divide.proto.json index 23413d95..3eb1bbdf 100644 --- a/definitions/standard/runtime_definition/number/std_number_divide.json +++ b/definitions/standard/runtime_definition/number/std_number_divide.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::divide", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::divide", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "first", - "default_value": null, + "runtimeName": "first", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "second", - "default_value": null, + "runtimeName": "second", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns the result of dividing the first numeric input (dividend) by the second (divisor)." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_euler.json b/definitions/standard/runtime_definition/number/std_number_euler.proto.json similarity index 63% rename from definitions/standard/runtime_definition/number/std_number_euler.json rename to definitions/standard/runtime_definition/number/std_number_euler.proto.json index 41ef4b02..0cbf85a1 100644 --- a/definitions/standard/runtime_definition/number/std_number_euler.json +++ b/definitions/standard/runtime_definition/number/std_number_euler.proto.json @@ -1,13 +1,11 @@ { - "runtime_name": "std::number::euler", - "runtime_parameter_definitions": [], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "runtimeName": "std::number::euler", + "runtimeParameterDefinitions": [], + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -26,5 +24,5 @@ "content": "Provides the constant value of Euler's number, approximately 2.71828, which is the base of the natural logarithm." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_exponential.json b/definitions/standard/runtime_definition/number/std_number_exponential.proto.json similarity index 69% rename from definitions/standard/runtime_definition/number/std_number_exponential.json rename to definitions/standard/runtime_definition/number/std_number_exponential.proto.json index e773016e..b027a4c8 100644 --- a/definitions/standard/runtime_definition/number/std_number_exponential.json +++ b/definitions/standard/runtime_definition/number/std_number_exponential.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::exponential", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::exponential", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "base", - "default_value": null, + "runtimeName": "base", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "exponent", - "default_value": null, + "runtimeName": "exponent", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Computes the result of raising the base to the power specified by the exponent." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_from_text.json b/definitions/standard/runtime_definition/number/std_number_from_text.proto.json similarity index 67% rename from definitions/standard/runtime_definition/number/std_number_from_text.json rename to definitions/standard/runtime_definition/number/std_number_from_text.proto.json index 7e58c9c1..ccbca6d7 100644 --- a/definitions/standard/runtime_definition/number/std_number_from_text.json +++ b/definitions/standard/runtime_definition/number/std_number_from_text.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::from_text", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::from_text", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "text", - "default_value": null, + "runtimeName": "text", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Attempts to parse the provided text input and return its numeric equivalent." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_infinity.json b/definitions/standard/runtime_definition/number/std_number_infinity.proto.json similarity index 62% rename from definitions/standard/runtime_definition/number/std_number_infinity.json rename to definitions/standard/runtime_definition/number/std_number_infinity.proto.json index be393cc9..bbaf2233 100644 --- a/definitions/standard/runtime_definition/number/std_number_infinity.json +++ b/definitions/standard/runtime_definition/number/std_number_infinity.proto.json @@ -1,13 +1,11 @@ { - "runtime_name": "std::number::infinity", - "runtime_parameter_definitions": [], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "runtimeName": "std::number::infinity", + "runtimeParameterDefinitions": [], + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -26,5 +24,5 @@ "content": "Provides the representation of positive infinity, used to represent an unbounded value in computations." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_is_equal.json b/definitions/standard/runtime_definition/number/std_number_is_equal.proto.json similarity index 67% rename from definitions/standard/runtime_definition/number/std_number_is_equal.json rename to definitions/standard/runtime_definition/number/std_number_is_equal.proto.json index 2cc401f3..73a51a42 100644 --- a/definitions/standard/runtime_definition/number/std_number_is_equal.json +++ b/definitions/standard/runtime_definition/number/std_number_is_equal.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::is_equal", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::is_equal", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "first", - "default_value": null, + "runtimeName": "first", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "second", - "default_value": null, + "runtimeName": "second", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns true if the first number is equal to the second number, otherwise false." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_is_greater.json b/definitions/standard/runtime_definition/number/std_number_is_greater.proto.json similarity index 70% rename from definitions/standard/runtime_definition/number/std_number_is_greater.json rename to definitions/standard/runtime_definition/number/std_number_is_greater.proto.json index 7fad7734..d556a9e7 100644 --- a/definitions/standard/runtime_definition/number/std_number_is_greater.json +++ b/definitions/standard/runtime_definition/number/std_number_is_greater.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::is_greater", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::is_greater", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "first", - "default_value": null, + "runtimeName": "first", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "second", - "default_value": null, + "runtimeName": "second", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns true if the first numeric input is greater than the second; otherwise, returns false." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_is_less.json b/definitions/standard/runtime_definition/number/std_number_is_less.proto.json similarity index 70% rename from definitions/standard/runtime_definition/number/std_number_is_less.json rename to definitions/standard/runtime_definition/number/std_number_is_less.proto.json index 41d8d9d4..35367b01 100644 --- a/definitions/standard/runtime_definition/number/std_number_is_less.json +++ b/definitions/standard/runtime_definition/number/std_number_is_less.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::is_less", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::is_less", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "first", - "default_value": null, + "runtimeName": "first", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "second", - "default_value": null, + "runtimeName": "second", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns true if the first numeric input is less than the second; otherwise, returns false." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_is_positive.json b/definitions/standard/runtime_definition/number/std_number_is_positive.proto.json similarity index 67% rename from definitions/standard/runtime_definition/number/std_number_is_positive.json rename to definitions/standard/runtime_definition/number/std_number_is_positive.proto.json index ebe629ae..716e4fb4 100644 --- a/definitions/standard/runtime_definition/number/std_number_is_positive.json +++ b/definitions/standard/runtime_definition/number/std_number_is_positive.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::is_positive", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::is_positive", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Evaluates the input number and returns true if it is positive (greater than zero), otherwise false." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_is_zero.json b/definitions/standard/runtime_definition/number/std_number_is_zero.proto.json similarity index 66% rename from definitions/standard/runtime_definition/number/std_number_is_zero.json rename to definitions/standard/runtime_definition/number/std_number_is_zero.proto.json index 7d2606a8..06799160 100644 --- a/definitions/standard/runtime_definition/number/std_number_is_zero.json +++ b/definitions/standard/runtime_definition/number/std_number_is_zero.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::is_zero", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::is_zero", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Returns true if the input number is zero; otherwise, returns false." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_ln.json b/definitions/standard/runtime_definition/number/std_number_ln.proto.json similarity index 67% rename from definitions/standard/runtime_definition/number/std_number_ln.json rename to definitions/standard/runtime_definition/number/std_number_ln.proto.json index 4e71cc46..aa766721 100644 --- a/definitions/standard/runtime_definition/number/std_number_ln.json +++ b/definitions/standard/runtime_definition/number/std_number_ln.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::ln", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::ln", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Returns the natural logarithm of the given value." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_log.json b/definitions/standard/runtime_definition/number/std_number_log.proto.json similarity index 69% rename from definitions/standard/runtime_definition/number/std_number_log.json rename to definitions/standard/runtime_definition/number/std_number_log.proto.json index 00bbdd0a..9b55962c 100644 --- a/definitions/standard/runtime_definition/number/std_number_log.json +++ b/definitions/standard/runtime_definition/number/std_number_log.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::log", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::log", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "base", - "default_value": null, + "runtimeName": "base", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns the logarithm of the given value using the specified base." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_max.json b/definitions/standard/runtime_definition/number/std_number_max.proto.json similarity index 68% rename from definitions/standard/runtime_definition/number/std_number_max.json rename to definitions/standard/runtime_definition/number/std_number_max.proto.json index 44adb241..3a3888e2 100644 --- a/definitions/standard/runtime_definition/number/std_number_max.json +++ b/definitions/standard/runtime_definition/number/std_number_max.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::max", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::max", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "first", - "default_value": null, + "runtimeName": "first", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "second", - "default_value": null, + "runtimeName": "second", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Compares two numbers and returns the maximum value." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_min.json b/definitions/standard/runtime_definition/number/std_number_min.proto.json similarity index 68% rename from definitions/standard/runtime_definition/number/std_number_min.json rename to definitions/standard/runtime_definition/number/std_number_min.proto.json index b307e3f2..1e3c3bb5 100644 --- a/definitions/standard/runtime_definition/number/std_number_min.json +++ b/definitions/standard/runtime_definition/number/std_number_min.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::min", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::min", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "first", - "default_value": null, + "runtimeName": "first", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "second", - "default_value": null, + "runtimeName": "second", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Compares two numbers and returns the minimum value." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_modulo.json b/definitions/standard/runtime_definition/number/std_number_modulo.proto.json similarity index 70% rename from definitions/standard/runtime_definition/number/std_number_modulo.json rename to definitions/standard/runtime_definition/number/std_number_modulo.proto.json index 149c1548..db358c75 100644 --- a/definitions/standard/runtime_definition/number/std_number_modulo.json +++ b/definitions/standard/runtime_definition/number/std_number_modulo.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::modulo", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::modulo", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "first", - "default_value": null, + "runtimeName": "first", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "second", - "default_value": null, + "runtimeName": "second", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Computes the modulus (remainder) of dividing the first numeric input by the second." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_multiply.json b/definitions/standard/runtime_definition/number/std_number_multiply.proto.json similarity index 67% rename from definitions/standard/runtime_definition/number/std_number_multiply.json rename to definitions/standard/runtime_definition/number/std_number_multiply.proto.json index f4ca8640..2f25da75 100644 --- a/definitions/standard/runtime_definition/number/std_number_multiply.json +++ b/definitions/standard/runtime_definition/number/std_number_multiply.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::multiply", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::multiply", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "first", - "default_value": null, + "runtimeName": "first", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "second", - "default_value": null, + "runtimeName": "second", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Takes two numeric inputs and returns their product." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_negate.json b/definitions/standard/runtime_definition/number/std_number_negate.proto.json similarity index 65% rename from definitions/standard/runtime_definition/number/std_number_negate.json rename to definitions/standard/runtime_definition/number/std_number_negate.proto.json index 6cb68f80..c130a3db 100644 --- a/definitions/standard/runtime_definition/number/std_number_negate.json +++ b/definitions/standard/runtime_definition/number/std_number_negate.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::negate", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::negate", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Calculates the additive inverse of the given number." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_pi.json b/definitions/standard/runtime_definition/number/std_number_pi.proto.json similarity index 61% rename from definitions/standard/runtime_definition/number/std_number_pi.json rename to definitions/standard/runtime_definition/number/std_number_pi.proto.json index b2510b8d..95f5edea 100644 --- a/definitions/standard/runtime_definition/number/std_number_pi.json +++ b/definitions/standard/runtime_definition/number/std_number_pi.proto.json @@ -1,13 +1,11 @@ { - "runtime_name": "std::number::pi", - "runtime_parameter_definitions": [], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "runtimeName": "std::number::pi", + "runtimeParameterDefinitions": [], + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -26,5 +24,5 @@ "content": "Provides the constant value of pi, approximately 3.14159, used in many mathematical calculations." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_random_number.json b/definitions/standard/runtime_definition/number/std_number_random_number.proto.json similarity index 70% rename from definitions/standard/runtime_definition/number/std_number_random_number.json rename to definitions/standard/runtime_definition/number/std_number_random_number.proto.json index 8c835dbd..98fa68a0 100644 --- a/definitions/standard/runtime_definition/number/std_number_random_number.json +++ b/definitions/standard/runtime_definition/number/std_number_random_number.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::random_number", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::random_number", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "min", - "default_value": null, + "runtimeName": "min", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "max", - "default_value": null, + "runtimeName": "max", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns a randomly generated number within the given range, inclusive of both minimum and maximum." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_root.json b/definitions/standard/runtime_definition/number/std_number_root.proto.json similarity index 69% rename from definitions/standard/runtime_definition/number/std_number_root.json rename to definitions/standard/runtime_definition/number/std_number_root.proto.json index b4fe321d..88745540 100644 --- a/definitions/standard/runtime_definition/number/std_number_root.json +++ b/definitions/standard/runtime_definition/number/std_number_root.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::root", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::root", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "root_exponent", - "default_value": null, + "runtimeName": "root_exponent", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Calculates the nth root of the input number, where n is specified by the root exponent." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_round.json b/definitions/standard/runtime_definition/number/std_number_round.proto.json similarity index 69% rename from definitions/standard/runtime_definition/number/std_number_round.json rename to definitions/standard/runtime_definition/number/std_number_round.proto.json index fa4b322f..6a3ecfb3 100644 --- a/definitions/standard/runtime_definition/number/std_number_round.json +++ b/definitions/standard/runtime_definition/number/std_number_round.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::round", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::round", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "decimals", - "default_value": null, + "runtimeName": "decimals", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Performs standard rounding on the given value, rounding up or down depending on the fractional component." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_round_down.json b/definitions/standard/runtime_definition/number/std_number_round_down.proto.json similarity index 69% rename from definitions/standard/runtime_definition/number/std_number_round_down.json rename to definitions/standard/runtime_definition/number/std_number_round_down.proto.json index f7a5c64d..655ece39 100644 --- a/definitions/standard/runtime_definition/number/std_number_round_down.json +++ b/definitions/standard/runtime_definition/number/std_number_round_down.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::round_down", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::round_down", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "decimals", - "default_value": null, + "runtimeName": "decimals", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Performs rounding on the given value, always rounding down to the nearest value at the given decimal precision." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_round_up.json b/definitions/standard/runtime_definition/number/std_number_round_up.proto.json similarity index 69% rename from definitions/standard/runtime_definition/number/std_number_round_up.json rename to definitions/standard/runtime_definition/number/std_number_round_up.proto.json index 3ec8b2e8..358041ff 100644 --- a/definitions/standard/runtime_definition/number/std_number_round_up.json +++ b/definitions/standard/runtime_definition/number/std_number_round_up.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::round_up", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::round_up", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "decimals", - "default_value": null, + "runtimeName": "decimals", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Performs rounding on the given value, always rounding up to the nearest value at the given decimal precision." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_sin.json b/definitions/standard/runtime_definition/number/std_number_sin.proto.json similarity index 69% rename from definitions/standard/runtime_definition/number/std_number_sin.json rename to definitions/standard/runtime_definition/number/std_number_sin.proto.json index 3153cb4e..14412fe7 100644 --- a/definitions/standard/runtime_definition/number/std_number_sin.json +++ b/definitions/standard/runtime_definition/number/std_number_sin.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::sin", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::sin", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "min", - "default_value": null, + "runtimeName": "min", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "max", - "default_value": null, + "runtimeName": "max", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns a pseudo-random number between the given minimum and maximum values." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_sinh.json b/definitions/standard/runtime_definition/number/std_number_sinh.proto.json similarity index 66% rename from definitions/standard/runtime_definition/number/std_number_sinh.json rename to definitions/standard/runtime_definition/number/std_number_sinh.proto.json index 49612831..d6dcaf37 100644 --- a/definitions/standard/runtime_definition/number/std_number_sinh.json +++ b/definitions/standard/runtime_definition/number/std_number_sinh.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::sinh", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::sinh", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Calculates the hyperbolic sine (sinh) of the input value." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_square.json b/definitions/standard/runtime_definition/number/std_number_square.proto.json similarity index 66% rename from definitions/standard/runtime_definition/number/std_number_square.json rename to definitions/standard/runtime_definition/number/std_number_square.proto.json index aa74d2ba..80107363 100644 --- a/definitions/standard/runtime_definition/number/std_number_square.json +++ b/definitions/standard/runtime_definition/number/std_number_square.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::square", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::square", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Calculates the value multiplied by itself, effectively raising it to the power of 2." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_square_root.json b/definitions/standard/runtime_definition/number/std_number_square_root.proto.json similarity index 65% rename from definitions/standard/runtime_definition/number/std_number_square_root.json rename to definitions/standard/runtime_definition/number/std_number_square_root.proto.json index 9602df20..cb00954b 100644 --- a/definitions/standard/runtime_definition/number/std_number_square_root.json +++ b/definitions/standard/runtime_definition/number/std_number_square_root.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::square_root", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::square_root", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Calculates the positive square root of the input number." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_subtract.json b/definitions/standard/runtime_definition/number/std_number_subtract.proto.json similarity index 69% rename from definitions/standard/runtime_definition/number/std_number_subtract.json rename to definitions/standard/runtime_definition/number/std_number_subtract.proto.json index 462c3ef0..0a22bac5 100644 --- a/definitions/standard/runtime_definition/number/std_number_subtract.json +++ b/definitions/standard/runtime_definition/number/std_number_subtract.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::subtract", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::subtract", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "first", - "default_value": null, + "runtimeName": "first", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "second", - "default_value": null, + "runtimeName": "second", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns the result of subtracting the second numeric input from the first." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/number/std_number_tan.json b/definitions/standard/runtime_definition/number/std_number_tan.proto.json similarity index 66% rename from definitions/standard/runtime_definition/number/std_number_tan.json rename to definitions/standard/runtime_definition/number/std_number_tan.proto.json index 193c317f..b330ca92 100644 --- a/definitions/standard/runtime_definition/number/std_number_tan.json +++ b/definitions/standard/runtime_definition/number/std_number_tan.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::number::tan", - "runtime_parameter_definitions": [ + "runtimeName": "std::number::tan", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "radians", - "default_value": null, + "runtimeName": "radians", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Calculates the tangent value of the input angle measured in radians." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/object/std_object_contains_key.json b/definitions/standard/runtime_definition/object/std_object_contains_key.proto.json similarity index 69% rename from definitions/standard/runtime_definition/object/std_object_contains_key.json rename to definitions/standard/runtime_definition/object/std_object_contains_key.proto.json index 052ae0cd..9f80cd1c 100644 --- a/definitions/standard/runtime_definition/object/std_object_contains_key.json +++ b/definitions/standard/runtime_definition/object/std_object_contains_key.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::object::contains_key", - "runtime_parameter_definitions": [ + "runtimeName": "std::object::contains_key", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "OBJECT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "OBJECT" }, - "runtime_name": "object", - "default_value": null, + "runtimeName": "object", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "key", - "default_value": null, + "runtimeName": "key", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns true if the given key is a property of the object; otherwise, returns false." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/object/std_object_keys.json b/definitions/standard/runtime_definition/object/std_object_keys.proto.json similarity index 55% rename from definitions/standard/runtime_definition/object/std_object_keys.json rename to definitions/standard/runtime_definition/object/std_object_keys.proto.json index f2042708..c23593c5 100644 --- a/definitions/standard/runtime_definition/object/std_object_keys.json +++ b/definitions/standard/runtime_definition/object/std_object_keys.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::object::keys", - "runtime_parameter_definitions": [ + "runtimeName": "std::object::keys", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "OBJECT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "OBJECT" }, - "runtime_name": "object", - "default_value": null, + "runtimeName": "object", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,28 +27,24 @@ ] } ], - "return_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "DataTypeIdentifier": "TEXT" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "dataTypeIdentifier": "TEXT" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -69,5 +63,5 @@ "content": "Returns an array containing all enumerable property names (keys) of the specified object." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/object/std_object_set.json b/definitions/standard/runtime_definition/object/std_object_set.proto.json similarity index 71% rename from definitions/standard/runtime_definition/object/std_object_set.json rename to definitions/standard/runtime_definition/object/std_object_set.proto.json index 268e6e94..a466d5a1 100644 --- a/definitions/standard/runtime_definition/object/std_object_set.json +++ b/definitions/standard/runtime_definition/object/std_object_set.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::object::set", - "runtime_parameter_definitions": [ + "runtimeName": "std::object::set", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "OBJECT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "OBJECT" }, - "runtime_name": "object", - "default_value": null, + "runtimeName": "object", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "key", - "default_value": null, + "runtimeName": "key", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] }, { - "data_type_identifier": { - "type": { - "GenericKey": "I" - } + "dataTypeIdentifier": { + "genericKey": "I" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -83,13 +77,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "OBJECT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "OBJECT" }, - "throws_error": false, - "generic_keys": [ + "throwsError": false, + "genericKeys": [ "I" ], "name": [ @@ -110,5 +102,5 @@ "content": "Returns a new object with the specified key set to the given value." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/object/std_object_size.json b/definitions/standard/runtime_definition/object/std_object_size.proto.json similarity index 68% rename from definitions/standard/runtime_definition/object/std_object_size.json rename to definitions/standard/runtime_definition/object/std_object_size.proto.json index 4da552c6..635a4edd 100644 --- a/definitions/standard/runtime_definition/object/std_object_size.json +++ b/definitions/standard/runtime_definition/object/std_object_size.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::object::size", - "runtime_parameter_definitions": [ + "runtimeName": "std::object::size", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "OBJECT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "OBJECT" }, - "runtime_name": "object", - "default_value": null, + "runtimeName": "object", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Returns an integer count of all enumerable property keys in the specified object." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_append.json b/definitions/standard/runtime_definition/text/std_text_append.proto.json similarity index 70% rename from definitions/standard/runtime_definition/text/std_text_append.json rename to definitions/standard/runtime_definition/text/std_text_append.proto.json index 0daab251..603ac170 100644 --- a/definitions/standard/runtime_definition/text/std_text_append.json +++ b/definitions/standard/runtime_definition/text/std_text_append.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::append", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::append", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "suffix", - "default_value": null, + "runtimeName": "suffix", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns a new text string consisting of the original text followed by the specified suffix." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_as_bytes.json b/definitions/standard/runtime_definition/text/std_text_as_bytes.proto.json similarity index 53% rename from definitions/standard/runtime_definition/text/std_text_as_bytes.json rename to definitions/standard/runtime_definition/text/std_text_as_bytes.proto.json index 390ab260..c73b9b0b 100644 --- a/definitions/standard/runtime_definition/text/std_text_as_bytes.json +++ b/definitions/standard/runtime_definition/text/std_text_as_bytes.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::as_bytes", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::as_bytes", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,28 +27,24 @@ ] } ], - "return_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "DataTypeIdentifier": "NUMBER" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "dataTypeIdentifier": "NUMBER" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -69,5 +63,5 @@ "content": "Returns an array of bytes representing the UTF-8 encoding of the given text." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_at.json b/definitions/standard/runtime_definition/text/std_text_at.proto.json similarity index 70% rename from definitions/standard/runtime_definition/text/std_text_at.json rename to definitions/standard/runtime_definition/text/std_text_at.proto.json index 19b43ae0..a4f4a20b 100644 --- a/definitions/standard/runtime_definition/text/std_text_at.json +++ b/definitions/standard/runtime_definition/text/std_text_at.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::at", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::at", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "index", - "default_value": null, + "runtimeName": "index", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Retrieves a single character from the input text based on the provided zero-based index." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_byte_size.json b/definitions/standard/runtime_definition/text/std_text_byte_size.proto.json similarity index 68% rename from definitions/standard/runtime_definition/text/std_text_byte_size.json rename to definitions/standard/runtime_definition/text/std_text_byte_size.proto.json index a57bde57..42580e6c 100644 --- a/definitions/standard/runtime_definition/text/std_text_byte_size.json +++ b/definitions/standard/runtime_definition/text/std_text_byte_size.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::byte_size", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::byte_size", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Computes the size in bytes of the provided text string, typically by counting UTF-8 encoded bytes." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_capitalize.json b/definitions/standard/runtime_definition/text/std_text_capitalize.proto.json similarity index 67% rename from definitions/standard/runtime_definition/text/std_text_capitalize.json rename to definitions/standard/runtime_definition/text/std_text_capitalize.proto.json index 827e5ca4..26bb21ae 100644 --- a/definitions/standard/runtime_definition/text/std_text_capitalize.json +++ b/definitions/standard/runtime_definition/text/std_text_capitalize.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::capitalize", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::capitalize", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Returns a new text string with the first letter capitalized." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_chars.json b/definitions/standard/runtime_definition/text/std_text_chars.proto.json similarity index 55% rename from definitions/standard/runtime_definition/text/std_text_chars.json rename to definitions/standard/runtime_definition/text/std_text_chars.proto.json index 91076b72..66425427 100644 --- a/definitions/standard/runtime_definition/text/std_text_chars.json +++ b/definitions/standard/runtime_definition/text/std_text_chars.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::chars", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::chars", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,28 +27,24 @@ ] } ], - "return_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "DataTypeIdentifier": "TEXT" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "dataTypeIdentifier": "TEXT" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -69,5 +63,5 @@ "content": "Creates an array where each element is a single character from the original text." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_contains.json b/definitions/standard/runtime_definition/text/std_text_contains.proto.json similarity index 68% rename from definitions/standard/runtime_definition/text/std_text_contains.json rename to definitions/standard/runtime_definition/text/std_text_contains.proto.json index 4dfc7ec9..bb2a7f70 100644 --- a/definitions/standard/runtime_definition/text/std_text_contains.json +++ b/definitions/standard/runtime_definition/text/std_text_contains.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::contains", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::contains", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "substring", - "default_value": null, + "runtimeName": "substring", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns true if the substring is found anywhere in the main text; otherwise, returns false." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_decode.json b/definitions/standard/runtime_definition/text/std_text_decode.proto.json similarity index 67% rename from definitions/standard/runtime_definition/text/std_text_decode.json rename to definitions/standard/runtime_definition/text/std_text_decode.proto.json index 0632159e..5fea0806 100644 --- a/definitions/standard/runtime_definition/text/std_text_decode.json +++ b/definitions/standard/runtime_definition/text/std_text_decode.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::decode", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::decode", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT_ENCODING" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT_ENCODING" }, - "runtime_name": "encoding", - "default_value": null, + "runtimeName": "encoding", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Decodes the input text from the specified encoding format." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_encode.json b/definitions/standard/runtime_definition/text/std_text_encode.proto.json similarity index 68% rename from definitions/standard/runtime_definition/text/std_text_encode.json rename to definitions/standard/runtime_definition/text/std_text_encode.proto.json index 0a9fc136..606f101e 100644 --- a/definitions/standard/runtime_definition/text/std_text_encode.json +++ b/definitions/standard/runtime_definition/text/std_text_encode.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::encode", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::encode", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT_ENCODING" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT_ENCODING" }, - "runtime_name": "encoding", - "default_value": null, + "runtimeName": "encoding", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Transforms the given text string into a representation encoded by the specified encoding scheme." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_ends_with.json b/definitions/standard/runtime_definition/text/std_text_ends_with.proto.json similarity index 67% rename from definitions/standard/runtime_definition/text/std_text_ends_with.json rename to definitions/standard/runtime_definition/text/std_text_ends_with.proto.json index 2c386baf..a6f72d2d 100644 --- a/definitions/standard/runtime_definition/text/std_text_ends_with.json +++ b/definitions/standard/runtime_definition/text/std_text_ends_with.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::ends_with", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::ends_with", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "suffix", - "default_value": null, + "runtimeName": "suffix", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns true if the input text ends with the given suffix; otherwise, returns false." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_from_ascii.json b/definitions/standard/runtime_definition/text/std_text_from_ascii.proto.json similarity index 53% rename from definitions/standard/runtime_definition/text/std_text_from_ascii.json rename to definitions/standard/runtime_definition/text/std_text_from_ascii.proto.json index 0ec5437a..2f317354 100644 --- a/definitions/standard/runtime_definition/text/std_text_from_ascii.json +++ b/definitions/standard/runtime_definition/text/std_text_from_ascii.proto.json @@ -1,29 +1,25 @@ { - "runtime_name": "std::text::from_ascii", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::from_ascii", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "DataTypeIdentifier": "NUMBER" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "dataTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "dataTypeIdentifier": "NUMBER" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -44,13 +40,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -69,5 +63,5 @@ "content": "Takes an array of numbers where each number is an ASCII code, and returns the string they represent." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_hex.json b/definitions/standard/runtime_definition/text/std_text_hex.proto.json similarity index 70% rename from definitions/standard/runtime_definition/text/std_text_hex.json rename to definitions/standard/runtime_definition/text/std_text_hex.proto.json index 51b0901f..d233d71f 100644 --- a/definitions/standard/runtime_definition/text/std_text_hex.json +++ b/definitions/standard/runtime_definition/text/std_text_hex.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::hex", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::hex", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Returns a string containing the hexadecimal values corresponding to each character of the input text." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_index_of.json b/definitions/standard/runtime_definition/text/std_text_index_of.proto.json similarity index 68% rename from definitions/standard/runtime_definition/text/std_text_index_of.json rename to definitions/standard/runtime_definition/text/std_text_index_of.proto.json index 8157519e..aa7be9ed 100644 --- a/definitions/standard/runtime_definition/text/std_text_index_of.json +++ b/definitions/standard/runtime_definition/text/std_text_index_of.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::index_of", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::index_of", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "substring", - "default_value": null, + "runtimeName": "substring", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns the zero-based index of the first occurrence of the substring in the text. Returns -1 if the substring is not found." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_insert.json b/definitions/standard/runtime_definition/text/std_text_insert.proto.json similarity index 71% rename from definitions/standard/runtime_definition/text/std_text_insert.json rename to definitions/standard/runtime_definition/text/std_text_insert.proto.json index fe51dae6..14f154d1 100644 --- a/definitions/standard/runtime_definition/text/std_text_insert.json +++ b/definitions/standard/runtime_definition/text/std_text_insert.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::insert", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::insert", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "position", - "default_value": null, + "runtimeName": "position", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "text", - "default_value": null, + "runtimeName": "text", + "defaultValue": null, "name": [ { "code": "en-US", @@ -83,13 +77,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -108,5 +100,5 @@ "content": "Returns a new string where the provided text is inserted at the zero-based position index within the original text." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_is_equal.json b/definitions/standard/runtime_definition/text/std_text_is_equal.proto.json similarity index 68% rename from definitions/standard/runtime_definition/text/std_text_is_equal.json rename to definitions/standard/runtime_definition/text/std_text_is_equal.proto.json index 30fb94ca..e8edad26 100644 --- a/definitions/standard/runtime_definition/text/std_text_is_equal.json +++ b/definitions/standard/runtime_definition/text/std_text_is_equal.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::is_equal", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::is_equal", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "first", - "default_value": null, + "runtimeName": "first", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "second", - "default_value": null, + "runtimeName": "second", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Determines if the two given text inputs are exactly the same, returning true if equal, false otherwise." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_length.json b/definitions/standard/runtime_definition/text/std_text_length.proto.json similarity index 66% rename from definitions/standard/runtime_definition/text/std_text_length.json rename to definitions/standard/runtime_definition/text/std_text_length.proto.json index a92fe6a2..c07bc676 100644 --- a/definitions/standard/runtime_definition/text/std_text_length.json +++ b/definitions/standard/runtime_definition/text/std_text_length.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::length", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::length", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Computes the length of the input string in terms of characters." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_lowercase.json b/definitions/standard/runtime_definition/text/std_text_lowercase.proto.json similarity index 67% rename from definitions/standard/runtime_definition/text/std_text_lowercase.json rename to definitions/standard/runtime_definition/text/std_text_lowercase.proto.json index 96707fd1..b9718232 100644 --- a/definitions/standard/runtime_definition/text/std_text_lowercase.json +++ b/definitions/standard/runtime_definition/text/std_text_lowercase.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::lowercase", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::lowercase", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Returns a new text string with all characters converted to lowercase." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_octal.json b/definitions/standard/runtime_definition/text/std_text_octal.proto.json similarity index 70% rename from definitions/standard/runtime_definition/text/std_text_octal.json rename to definitions/standard/runtime_definition/text/std_text_octal.proto.json index 333cda82..d08926a6 100644 --- a/definitions/standard/runtime_definition/text/std_text_octal.json +++ b/definitions/standard/runtime_definition/text/std_text_octal.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::octal", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::octal", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Returns a string containing the octal values corresponding to each character of the input text." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_prepend.json b/definitions/standard/runtime_definition/text/std_text_prepend.proto.json similarity index 70% rename from definitions/standard/runtime_definition/text/std_text_prepend.json rename to definitions/standard/runtime_definition/text/std_text_prepend.proto.json index ace63d7e..7fc90cf1 100644 --- a/definitions/standard/runtime_definition/text/std_text_prepend.json +++ b/definitions/standard/runtime_definition/text/std_text_prepend.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::prepend", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::prepend", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "prefix", - "default_value": null, + "runtimeName": "prefix", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns a new text string consisting of the specified prefix followed by the original text." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_remove.json b/definitions/standard/runtime_definition/text/std_text_remove.proto.json similarity index 70% rename from definitions/standard/runtime_definition/text/std_text_remove.json rename to definitions/standard/runtime_definition/text/std_text_remove.proto.json index acc37090..24f5ed18 100644 --- a/definitions/standard/runtime_definition/text/std_text_remove.json +++ b/definitions/standard/runtime_definition/text/std_text_remove.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::remove", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::remove", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "start", - "default_value": null, + "runtimeName": "start", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "NUMBER" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "NUMBER" }, - "runtime_name": "end", - "default_value": null, + "runtimeName": "end", + "defaultValue": null, "name": [ { "code": "en-US", @@ -83,13 +77,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -108,5 +100,5 @@ "content": "Returns a new string with characters removed from start up to but not including end." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_replace.json b/definitions/standard/runtime_definition/text/std_text_replace.proto.json similarity index 71% rename from definitions/standard/runtime_definition/text/std_text_replace.json rename to definitions/standard/runtime_definition/text/std_text_replace.proto.json index 783e228c..99197289 100644 --- a/definitions/standard/runtime_definition/text/std_text_replace.json +++ b/definitions/standard/runtime_definition/text/std_text_replace.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::replace", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::replace", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "old", - "default_value": null, + "runtimeName": "old", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "new", - "default_value": null, + "runtimeName": "new", + "defaultValue": null, "name": [ { "code": "en-US", @@ -83,13 +77,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -108,5 +100,5 @@ "content": "Returns a new string where every instance of the old substring is replaced by the new substring." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_replace_first.json b/definitions/standard/runtime_definition/text/std_text_replace_first.proto.json similarity index 72% rename from definitions/standard/runtime_definition/text/std_text_replace_first.json rename to definitions/standard/runtime_definition/text/std_text_replace_first.proto.json index b81dbc98..39ed3cea 100644 --- a/definitions/standard/runtime_definition/text/std_text_replace_first.json +++ b/definitions/standard/runtime_definition/text/std_text_replace_first.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::replace_first", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::replace_first", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "old", - "default_value": null, + "runtimeName": "old", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "new", - "default_value": null, + "runtimeName": "new", + "defaultValue": null, "name": [ { "code": "en-US", @@ -83,13 +77,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -108,5 +100,5 @@ "content": "Returns a new string where only the first instance of the old substring is replaced by the new substring." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_replace_last.json b/definitions/standard/runtime_definition/text/std_text_replace_last.proto.json similarity index 71% rename from definitions/standard/runtime_definition/text/std_text_replace_last.json rename to definitions/standard/runtime_definition/text/std_text_replace_last.proto.json index 7eba508c..b8335362 100644 --- a/definitions/standard/runtime_definition/text/std_text_replace_last.json +++ b/definitions/standard/runtime_definition/text/std_text_replace_last.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::replace_last", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::replace_last", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "old", - "default_value": null, + "runtimeName": "old", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "new", - "default_value": null, + "runtimeName": "new", + "defaultValue": null, "name": [ { "code": "en-US", @@ -83,13 +77,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -108,5 +100,5 @@ "content": "Returns a new string where only the last instance of the old substring is replaced by the new substring." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_reverse.json b/definitions/standard/runtime_definition/text/std_text_reverse.proto.json similarity index 65% rename from definitions/standard/runtime_definition/text/std_text_reverse.json rename to definitions/standard/runtime_definition/text/std_text_reverse.proto.json index b17de71e..06eb7a19 100644 --- a/definitions/standard/runtime_definition/text/std_text_reverse.json +++ b/definitions/standard/runtime_definition/text/std_text_reverse.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::reverse", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::reverse", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Returns a new string with the characters of the input text in reverse order." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_split.json b/definitions/standard/runtime_definition/text/std_text_split.proto.json similarity index 59% rename from definitions/standard/runtime_definition/text/std_text_split.json rename to definitions/standard/runtime_definition/text/std_text_split.proto.json index 2acc2246..6827be2c 100644 --- a/definitions/standard/runtime_definition/text/std_text_split.json +++ b/definitions/standard/runtime_definition/text/std_text_split.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::split", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::split", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "delimiter", - "default_value": null, + "runtimeName": "delimiter", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,28 +52,24 @@ ] } ], - "return_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "DataTypeIdentifier": "TEXT" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "dataTypeIdentifier": "TEXT" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -96,5 +88,5 @@ "content": "Returns an array of substrings obtained by splitting the input text at each occurrence of the delimiter." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_start_with.json b/definitions/standard/runtime_definition/text/std_text_start_with.proto.json similarity index 67% rename from definitions/standard/runtime_definition/text/std_text_start_with.json rename to definitions/standard/runtime_definition/text/std_text_start_with.proto.json index 54d8074e..8ec5aca3 100644 --- a/definitions/standard/runtime_definition/text/std_text_start_with.json +++ b/definitions/standard/runtime_definition/text/std_text_start_with.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::start_with", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::start_with", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] }, { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "prefix", - "default_value": null, + "runtimeName": "prefix", + "defaultValue": null, "name": [ { "code": "en-US", @@ -56,13 +52,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "BOOLEAN" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "BOOLEAN" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -81,5 +75,5 @@ "content": "Returns true if the input text begins with the given prefix; otherwise, returns false." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_swapcase.json b/definitions/standard/runtime_definition/text/std_text_swapcase.proto.json similarity index 69% rename from definitions/standard/runtime_definition/text/std_text_swapcase.json rename to definitions/standard/runtime_definition/text/std_text_swapcase.proto.json index b6be9b0b..53ca6c7d 100644 --- a/definitions/standard/runtime_definition/text/std_text_swapcase.json +++ b/definitions/standard/runtime_definition/text/std_text_swapcase.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::swapcase", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::swapcase", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Returns a new text string with the case of each character inverted." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_to_ascii.json b/definitions/standard/runtime_definition/text/std_text_to_ascii.proto.json similarity index 55% rename from definitions/standard/runtime_definition/text/std_text_to_ascii.json rename to definitions/standard/runtime_definition/text/std_text_to_ascii.proto.json index ec054bbd..38ac46e8 100644 --- a/definitions/standard/runtime_definition/text/std_text_to_ascii.json +++ b/definitions/standard/runtime_definition/text/std_text_to_ascii.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::to_ascii", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::to_ascii", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,28 +27,24 @@ ] } ], - "return_type_identifier": { - "type": { - "GenericType": { - "data_type_identifier": "ARRAY", - "generic_mappers": [ - { - "source": [ - { - "type": { - "DataTypeIdentifier": "NUMBER" - } - } - ], - "target": "T", - "generic_combinations": [] - } - ] - } + "returnTypeIdentifier": { + "genericType": { + "dataTypeIdentifier": "ARRAY", + "genericMappers": [ + { + "source": [ + { + "dataTypeIdentifier": "NUMBER" + } + ], + "target": "T", + "genericCombinations": [] + } + ] } }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -69,5 +63,5 @@ "content": "Returns an array of numbers where each number represents the ASCII code of the corresponding character in the input text." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_trim.json b/definitions/standard/runtime_definition/text/std_text_trim.proto.json similarity index 68% rename from definitions/standard/runtime_definition/text/std_text_trim.json rename to definitions/standard/runtime_definition/text/std_text_trim.proto.json index d387f0ec..6b9ce181 100644 --- a/definitions/standard/runtime_definition/text/std_text_trim.json +++ b/definitions/standard/runtime_definition/text/std_text_trim.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::trim", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::trim", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Returns a new string with all leading and trailing whitespace characters removed from the input text." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/definitions/standard/runtime_definition/text/std_text_uppercase.json b/definitions/standard/runtime_definition/text/std_text_uppercase.proto.json similarity index 67% rename from definitions/standard/runtime_definition/text/std_text_uppercase.json rename to definitions/standard/runtime_definition/text/std_text_uppercase.proto.json index dc2a219b..c285eea2 100644 --- a/definitions/standard/runtime_definition/text/std_text_uppercase.json +++ b/definitions/standard/runtime_definition/text/std_text_uppercase.proto.json @@ -1,14 +1,12 @@ { - "runtime_name": "std::text::uppercase", - "runtime_parameter_definitions": [ + "runtimeName": "std::text::uppercase", + "runtimeParameterDefinitions": [ { - "data_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "dataTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "runtime_name": "value", - "default_value": null, + "runtimeName": "value", + "defaultValue": null, "name": [ { "code": "en-US", @@ -29,13 +27,11 @@ ] } ], - "return_type_identifier": { - "type": { - "DataTypeIdentifier": "TEXT" - } + "returnTypeIdentifier": { + "dataTypeIdentifier": "TEXT" }, - "throws_error": false, - "generic_keys": [], + "throwsError": false, + "genericKeys": [], "name": [ { "code": "en-US", @@ -54,5 +50,5 @@ "content": "Returns a new text string with all characters converted to uppercase." } ], - "deprecation_message": [] + "deprecationMessage": [] } \ No newline at end of file diff --git a/reader/ts/package-lock.json b/reader/ts/package-lock.json index c527f4a7..3769f3c1 100644 --- a/reader/ts/package-lock.json +++ b/reader/ts/package-lock.json @@ -8,9 +8,10 @@ "name": "@code0-tech/definition-reader", "version": "0.0.0", "dependencies": { - "@code0-tech/sagittarius-graphql-types": "^0.0.0-00f33663039d78ad59e95306730878c687de5c48", - "@code0-tech/tucana": "^0.0.37", + "@code0-tech/sagittarius-graphql-types": "^0.0.0-56198dce107a9c09cc5eca0773f239d9c3eba598", + "@code0-tech/tucana": "^0.0.39", "@protobuf-ts/runtime": "^2.11.1", + "@protobuf-ts/runtime-rpc": "^2.11.1", "vite-plugin-dts": "^4.5.4" }, "devDependencies": { @@ -66,14 +67,14 @@ } }, "node_modules/@code0-tech/sagittarius-graphql-types": { - "version": "0.0.0-00f33663039d78ad59e95306730878c687de5c48", - "resolved": "https://registry.npmjs.org/@code0-tech/sagittarius-graphql-types/-/sagittarius-graphql-types-0.0.0-00f33663039d78ad59e95306730878c687de5c48.tgz", - "integrity": "sha512-g8bv5KWq+c8jd9Gb+86O3TT/Dcvt2injJcZ5aFJkN8ZZz/4VsA0EcC3h/hCsoiBIEquvAdQQVFriNAbC0JrKRA==" + "version": "0.0.0-56198dce107a9c09cc5eca0773f239d9c3eba598", + "resolved": "https://registry.npmjs.org/@code0-tech/sagittarius-graphql-types/-/sagittarius-graphql-types-0.0.0-56198dce107a9c09cc5eca0773f239d9c3eba598.tgz", + "integrity": "sha512-95nHtvQb2W6iSk0SUyUOgEHE1RSqXDi0Ih1edscScKFFmJK1hWbdrvvsRPjQnTfZsieuvdXC9L2q/+SXIBFH7Q==" }, "node_modules/@code0-tech/tucana": { - "version": "0.0.37", - "resolved": "https://registry.npmjs.org/@code0-tech/tucana/-/tucana-0.0.37.tgz", - "integrity": "sha512-eluuVkN3z4sJ6W6j11VD0OEq/jZPG+kMGMDTr3mRaiHUxGt90lfsBlqyzfLBIUXV8Q4vYTh9G1HuhpGoyRSH1Q==", + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@code0-tech/tucana/-/tucana-0.0.39.tgz", + "integrity": "sha512-FZHPN0eGhmMLSaYPAE8fb1g9DS8P3JdacwUjRSiXeBVrOBs3EqT7zjcUnDLqZ8YeXY6/T+srFs3zeemjvicCTQ==", "license": "Apache-2.0" }, "node_modules/@esbuild/aix-ppc64": { @@ -617,6 +618,15 @@ "integrity": "sha512-KuDaT1IfHkugM2pyz+FwiY80ejWrkH1pAtOBOZFuR6SXEFTsnb/jiQWQ1rCIrcKx2BtyxnxW6BWwsVSA/Ie+WQ==", "license": "(Apache-2.0 AND BSD-3-Clause)" }, + "node_modules/@protobuf-ts/runtime-rpc": { + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/@protobuf-ts/runtime-rpc/-/runtime-rpc-2.11.1.tgz", + "integrity": "sha512-4CqqUmNA+/uMz00+d3CYKgElXO9VrEbucjnBFEjqI4GuDrEQ32MaI3q+9qPBvIGOlL4PmHXrzM32vBPWRhQKWQ==", + "license": "Apache-2.0", + "dependencies": { + "@protobuf-ts/runtime": "^2.11.1" + } + }, "node_modules/@rollup/pluginutils": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.3.0.tgz", diff --git a/reader/ts/package.json b/reader/ts/package.json index 2683eb8a..6371eb24 100644 --- a/reader/ts/package.json +++ b/reader/ts/package.json @@ -6,7 +6,9 @@ "types": "./dist/index.d.ts", "type": "module", "scripts": { - "build": "npx vite build" + "build": "vite build", + "start": "node ./dist/index.js", + "build:and:run": "vite build && node ./dist/index.js" }, "author": "", "license": "", @@ -28,9 +30,10 @@ "access": "public" }, "dependencies": { - "@code0-tech/sagittarius-graphql-types": "^0.0.0-00f33663039d78ad59e95306730878c687de5c48", - "@code0-tech/tucana": "^0.0.37", + "@code0-tech/sagittarius-graphql-types": "^0.0.0-56198dce107a9c09cc5eca0773f239d9c3eba598", + "@code0-tech/tucana": "^0.0.39", "@protobuf-ts/runtime": "^2.11.1", + "@protobuf-ts/runtime-rpc": "^2.11.1", "vite-plugin-dts": "^4.5.4" } } diff --git a/reader/ts/src/index.ts b/reader/ts/src/index.ts index 2c5adf9c..37023bf3 100644 --- a/reader/ts/src/index.ts +++ b/reader/ts/src/index.ts @@ -1,2 +1,2 @@ -export { Definition } from './parser.ts'; +export { Definition } from './parser.js'; export type { Feature } from './types.ts'; diff --git a/reader/ts/src/mapper/dataTypeMapper.ts b/reader/ts/src/mapper/dataTypeMapper.ts index 81e7b889..9759a766 100644 --- a/reader/ts/src/mapper/dataTypeMapper.ts +++ b/reader/ts/src/mapper/dataTypeMapper.ts @@ -11,10 +11,11 @@ import { import { DataTypeIdentifier as TucanaDataTypeIdentifier, DefinitionDataType_Variant, DefinitionDataTypeRule, GenericMapper_GenericCombinationStrategy -} from "@code0-tech/tucana/pb/shared.data_type_pb.ts" -import {GenericMapper as TucanaGenericMapper} from "@code0-tech/tucana/pb/shared.data_type_pb.ts" -import {ConstructedDataTypes, getID} from "../parser.ts"; -import {getTranslationConnection} from "./translation.ts"; +} from "@code0-tech/tucana/pb/shared.data_type_pb.js" +import {GenericMapper as TucanaGenericMapper} from "@code0-tech/tucana/pb/shared.data_type_pb.js" +import {ConstructedDataTypes, getID} from "../parser.js"; +import {getTranslationConnection} from "./translation.js"; +import {Value} from "@code0-tech/tucana/pb/shared.struct_pb.js"; function getDataType(identifier: string, constructedDataTypes: ConstructedDataTypes): DataType | null { const dataType = constructedDataTypes.constructedDataTypes.find(dt => dt.identifier === identifier) @@ -67,7 +68,7 @@ function createRules(rule: DefinitionDataTypeRule[], constructedDataTypes: Const } case "itemOfCollection": { const ruleConfig: DataTypeRulesItemOfCollectionConfig = { - items: r.config.itemOfCollection.items, //TODO: This needs to be checked + items: r.config.itemOfCollection.items.map(valueToJSON), } const rule: DataTypeRule = { variant: DataTypeRulesVariant.ItemOfCollection, @@ -195,7 +196,7 @@ function getDataTypeIdentifier(identifier: TucanaDataTypeIdentifier | undefined, type: type } }), - sources: mapper.source.map(id => + sourceDataTypeIdentifiers: mapper.source.map(id => getDataTypeIdentifier(id, constructedDataTypes) ).filter(id => id != null), target: mapper.target, @@ -224,4 +225,27 @@ function getDataTypeIdentifier(identifier: TucanaDataTypeIdentifier | undefined, return null; } +// @ts-ignore +function valueToJSON(value: Value) { + switch (value.kind.oneofKind) { + case "nullValue": + return null + case "numberValue": + return value.kind.numberValue + case "stringValue": + return value.kind.stringValue + case "boolValue": + return value.kind.boolValue + case "structValue": + return Object.fromEntries( + // @ts-ignore + Object.entries(value.kind.structValue.fields).map(([k, v]) => { + return [k, valueToJSON(v)] + }) + ) + case "listValue": + return value.kind.listValue.values.map(valueToJSON) + } +} + export {getDataType, getDataTypeIdentifier} \ No newline at end of file diff --git a/reader/ts/src/mapper/flowTypeMapper.ts b/reader/ts/src/mapper/flowTypeMapper.ts index e93d0f58..2f4c2da7 100644 --- a/reader/ts/src/mapper/flowTypeMapper.ts +++ b/reader/ts/src/mapper/flowTypeMapper.ts @@ -1,7 +1,7 @@ -import {FlowType as TucanaFlowType, FlowTypeSetting as TucanaFlowTypeSetting} from "@code0-tech/tucana/pb/shared.flow_definition_pb.ts" +import {FlowType as TucanaFlowType, FlowTypeSetting as TucanaFlowTypeSetting} from "@code0-tech/tucana/pb/shared.flow_definition_pb.js" import {FlowType, FlowTypeSetting} from "@code0-tech/sagittarius-graphql-types"; -import {getDataType} from "./dataTypeMapper.ts"; -import {ConstructedDataTypes, getID} from "../parser.ts"; +import {getDataType} from "./dataTypeMapper.js"; +import {ConstructedDataTypes, getID} from "../parser.js"; import {getTranslationConnection} from "./translation.js"; function mapFlowType(flowType: TucanaFlowType, constructed: ConstructedDataTypes): FlowType | null { diff --git a/reader/ts/src/mapper/functionMapper.ts b/reader/ts/src/mapper/functionMapper.ts index f16cdc1f..fbb9b12f 100644 --- a/reader/ts/src/mapper/functionMapper.ts +++ b/reader/ts/src/mapper/functionMapper.ts @@ -2,9 +2,9 @@ import {FunctionDefinition, ParameterDefinitionConnection} from "@code0-tech/sag import { RuntimeFunctionDefinition as TucanaFunction, RuntimeParameterDefinition -} from "@code0-tech/tucana/pb/shared.runtime_function_pb.ts"; -import {getDataTypeIdentifier} from "./dataTypeMapper.ts"; -import {ConstructedDataTypes, getID} from "../parser.ts"; +} from "@code0-tech/tucana/pb/shared.runtime_function_pb.js"; +import {getDataTypeIdentifier} from "./dataTypeMapper.js"; +import {ConstructedDataTypes, getID} from "../parser.js"; import {getTranslationConnection} from "./translation.js"; function mapFunction(func: TucanaFunction, constructed: ConstructedDataTypes): FunctionDefinition | null { @@ -18,6 +18,10 @@ function mapFunction(func: TucanaFunction, constructed: ConstructedDataTypes): F throwsError: func.throwsError, returnType: getDataTypeIdentifier(func.returnTypeIdentifier, constructed), parameterDefinitions: getParameterDefinitionConnection(func.runtimeParameterDefinitions, constructed), + runtimeFunctionDefinition: { + id: `gid://sagittarius/RuntimeFunctionDefinition/${getID(constructed)}`, + identifier: func.runtimeName + } } } @@ -28,9 +32,10 @@ function getParameterDefinitionConnection(def: RuntimeParameterDefinition[], con return { id: `gid://sagittarius/ParameterDefinition/${getID(constructed)}`, names: getTranslationConnection(node.name), + identifier: node.runtimeName, descriptions: getTranslationConnection(node.description), documentations: getTranslationConnection(node.documentation), - dataType: getDataTypeIdentifier(node.dataTypeIdentifier, constructed) + dataTypeIdentifier: getDataTypeIdentifier(node.dataTypeIdentifier, constructed) } }) } diff --git a/reader/ts/src/parser.ts b/reader/ts/src/parser.ts index 39e51e75..b6233751 100644 --- a/reader/ts/src/parser.ts +++ b/reader/ts/src/parser.ts @@ -1,14 +1,14 @@ -import {DefinitionDataType as TucanaDataType} from "@code0-tech/tucana/pb/shared.data_type_pb.ts"; -import {Feature} from "./types.ts"; +import {DefinitionDataType as TucanaDataType} from "@code0-tech/tucana/pb/shared.data_type_pb.js"; +import {Feature} from "./types.js"; import {readdirSync, readFileSync} from "node:fs"; -import {FlowType as TucanaFlowType} from "@code0-tech/tucana/pb/shared.flow_definition_pb.ts"; -import {RuntimeFunctionDefinition as TucanaFunction} from "@code0-tech/tucana/pb/shared.runtime_function_pb.ts"; +import {FlowType as TucanaFlowType} from "@code0-tech/tucana/pb/shared.flow_definition_pb.js"; +import {RuntimeFunctionDefinition as TucanaFunction} from "@code0-tech/tucana/pb/shared.runtime_function_pb.js"; import path from "node:path"; -import {mapFlowType} from "./mapper/flowTypeMapper.ts"; -import {mapFunction} from "./mapper/functionMapper.ts"; +import {mapFlowType} from "./mapper/flowTypeMapper.js"; +import {mapFunction} from "./mapper/functionMapper.js"; import {DataType} from "@code0-tech/sagittarius-graphql-types"; -import {DefinitionDataType} from "@code0-tech/tucana/pb/shared.data_type_pb.ts"; -import {getDataType} from "./mapper/dataTypeMapper.ts"; +import {DefinitionDataType} from "@code0-tech/tucana/pb/shared.data_type_pb.js"; +import {getDataType} from "./mapper/dataTypeMapper.js"; export interface ConstructedDataTypes { scannedTucanaTypes: DefinitionDataType[] diff --git a/reader/ts/tsconfig.json b/reader/ts/tsconfig.json index 9e0ec70a..4a788d93 100644 --- a/reader/ts/tsconfig.json +++ b/reader/ts/tsconfig.json @@ -21,8 +21,5 @@ "declaration": true, "emitDeclarationOnly": true, "esModuleInterop": true, - "moduleDetection": "force", - "allowSyntheticDefaultImports": true, - "allowImportingTsExtensions": true } }