diff --git a/Cargo.lock b/Cargo.lock index c8e65c7..561153f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2415,9 +2415,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tucana" -version = "0.0.54" +version = "0.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e81f5598a25b6a8f1618fcb25d1a8b2ddbfa38c8a9dcba16a798efe425a36e" +checksum = "a33d3527f287b0f0f0a3784cb55c801dabc226bf79ebee28394dd31f3b9794ff" dependencies = [ "pbjson", "pbjson-build", diff --git a/Cargo.toml b/Cargo.toml index 686d0ce..66cbd3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ edition = "2024" [workspace.dependencies] serde = "1.0.219" serde_json = "1.0.140" -tucana = "0.0.54" +tucana = "0.0.56" clap = "4.5.41" colored = "3.0" tabled = "0.20" diff --git a/crates/cli/src/analyser/core.rs b/crates/cli/src/analyser/core.rs index 4a1cade..cec94cb 100644 --- a/crates/cli/src/analyser/core.rs +++ b/crates/cli/src/analyser/core.rs @@ -57,19 +57,6 @@ impl Analyser { self.index.has_data_type(identifier, except_id) } - pub fn generic_key_in_target(&self, key: &str, target: &str) -> bool { - let norm_target = target.to_ascii_lowercase(); - self.data_types.iter().any(|dt| { - dt.definition_data_type - .identifier - .eq_ignore_ascii_case(&norm_target) - && dt - .definition_data_type - .generic_keys - .contains(&key.to_string()) - }) - } - pub fn null_field(&mut self, name: String, adt: &AnalysableDataType) { self.reporter.add(Diagnose::new( adt.definition_data_type.identifier.clone(), diff --git a/crates/cli/src/analyser/data_type.rs b/crates/cli/src/analyser/data_type.rs index df7bea9..351a239 100644 --- a/crates/cli/src/analyser/data_type.rs +++ b/crates/cli/src/analyser/data_type.rs @@ -1,8 +1,6 @@ use crate::analyser::core::{AnalysableDataType, Analyser}; use crate::diagnostics::diagnose::Diagnose; use crate::diagnostics::kinds::DiagnosticKind; -use tucana::shared::DataTypeIdentifier; -use tucana::shared::data_type_identifier::Type; use tucana::shared::definition_data_type_rule::Config; impl Analyser { @@ -17,13 +15,16 @@ impl Analyser { }, )); } - - if dt.variant == 0 { - self.reporter.add(Diagnose::new( - dt.identifier.clone(), - adt.original_definition.clone(), - DiagnosticKind::ForbiddenVariant, - )); + for linked in dt.linked_data_type_identifiers.clone() { + if !self.data_type_identifier_exists(linked.as_str(), None) { + self.reporter.add(Diagnose::new( + dt.identifier.clone(), + adt.original_definition.clone(), + DiagnosticKind::UndefinedDataTypeIdentifier { + identifier: linked.clone(), + }, + )); + } } if dt.alias.is_empty() { @@ -45,89 +46,27 @@ impl Analyser { }, )); } - let mut detected: Vec = vec![]; + + if dt.signature == "" { + self.reporter.add(Diagnose::new( + dt.identifier.clone(), + adt.original_definition.clone(), + DiagnosticKind::NullField { + field_name: "signature".into(), + }, + )); + } + for optional_rule in &dt.rules { if let Some(config) = &optional_rule.config { match config { - Config::ContainsKey(rule) => { - if let Some(dti) = &rule.data_type_identifier { - self.walk_data_type_identifier(adt, dti, &mut detected); - } else { - self.null_field("definition_data_type_contains_key_rule".into(), adt); - } - } - Config::ContainsType(rule) => { - if let Some(dti) = &rule.data_type_identifier { - self.walk_data_type_identifier(adt, dti, &mut detected); - } else { - self.null_field("definition_data_type_contains_type_rule".into(), adt); - } - } - Config::ItemOfCollection(rule) => { - if rule.items.is_empty() { - self.null_field( - "definition_data_type_item_of_collection_rule".into(), - adt, - ); - } - } Config::NumberRange(_) | Config::Regex(_) => {} - Config::InputTypes(rule) => { - if rule.input_types.is_empty() { - self.null_field("definition_data_type_input_types_rule".into(), adt); - } - for input in &rule.input_types { - if let Some(dti) = &input.data_type_identifier { - self.walk_data_type_identifier(adt, dti, &mut detected); - } else { - self.reporter.add(Diagnose::new( - dt.identifier.clone(), - adt.original_definition.clone(), - DiagnosticKind::UndefinedDataTypeIdentifier { - identifier: dt.identifier.clone(), - }, - )); - } - } - } - Config::ReturnType(rule) => { - if let Some(dti) = &rule.data_type_identifier { - self.walk_data_type_identifier(adt, dti, &mut detected); - } else { - self.null_field("definition_data_type_return_type_rule".into(), adt); - } - } - Config::ParentType(rule) => { - if let Some(dti) = &rule.parent_type { - self.walk_data_type_identifier(adt, dti, &mut detected); - } else { - self.null_field("definition_data_type_parent_type_rule".into(), adt); - } - } } } else { self.null_field("rule".into(), adt); } } - for key in dt.generic_keys.iter().filter(|k| !detected.contains(k)) { - self.reporter.add(Diagnose::new( - dt.identifier.clone(), - adt.original_definition.clone(), - DiagnosticKind::UnusedGenericKey { key: key.clone() }, - )); - } - for key in detected - .into_iter() - .filter(|k| !dt.generic_keys.contains(k)) - { - self.reporter.add(Diagnose::new( - dt.identifier.clone(), - adt.original_definition.clone(), - DiagnosticKind::UndefinedGenericKey { key }, - )); - } - if dt.name.is_empty() { self.reporter.add(Diagnose::new( dt.identifier.clone(), @@ -138,62 +77,4 @@ impl Analyser { )); } } - - fn walk_data_type_identifier( - &mut self, - adt: &AnalysableDataType, - dti: &DataTypeIdentifier, - acc: &mut Vec, - ) { - if let Some(t) = &dti.r#type { - match t { - Type::DataTypeIdentifier(identifier) => { - if !self.data_type_identifier_exists(identifier, Some(adt.id)) { - self.reporter.add(Diagnose::new( - adt.definition_data_type.identifier.clone(), - adt.original_definition.clone(), - DiagnosticKind::UndefinedDataTypeIdentifier { - identifier: identifier.clone(), - }, - )); - } - } - Type::GenericType(generic) => { - if !self - .data_type_identifier_exists(&generic.data_type_identifier, Some(adt.id)) - { - self.reporter.add(Diagnose::new( - adt.definition_data_type.identifier.clone(), - adt.original_definition.clone(), - DiagnosticKind::UndefinedDataTypeIdentifier { - identifier: generic.data_type_identifier.clone(), - }, - )); - } - if generic.generic_mappers.is_empty() { - self.reporter.add(Diagnose::new( - adt.definition_data_type.identifier.clone(), - adt.original_definition.clone(), - DiagnosticKind::EmptyGenericMapper, - )); - } - for mapper in &generic.generic_mappers { - if adt - .definition_data_type - .generic_keys - .contains(&mapper.target) - { - acc.push(mapper.target.clone()); - } - for source in &mapper.source { - self.walk_data_type_identifier(adt, source, acc); - } - } - } - Type::GenericKey(key) => acc.push(key.clone()), - } - } else { - self.null_field("data_type".into(), adt); - } - } } diff --git a/crates/cli/src/analyser/flow_type.rs b/crates/cli/src/analyser/flow_type.rs index 6dd6e72..01b49a4 100644 --- a/crates/cli/src/analyser/flow_type.rs +++ b/crates/cli/src/analyser/flow_type.rs @@ -66,24 +66,25 @@ impl Analyser { } if let Some(identifier) = &flow.input_type_identifier - && !self.data_type_identifier_exists(identifier, None) + && identifier == "" { self.reporter.add(Diagnose::new( name.clone(), original.clone(), - DiagnosticKind::UndefinedDataTypeIdentifier { - identifier: identifier.clone(), + DiagnosticKind::NullField { + field_name: "input_type_identifier".into(), }, )); } + if let Some(identifier) = &flow.return_type_identifier - && !self.data_type_identifier_exists(identifier, None) + && identifier == "" { self.reporter.add(Diagnose::new( name.clone(), original.clone(), - DiagnosticKind::UndefinedDataTypeIdentifier { - identifier: identifier.clone(), + DiagnosticKind::NullField { + field_name: "return_type_identifier".into(), }, )); } diff --git a/crates/cli/src/analyser/function.rs b/crates/cli/src/analyser/function.rs index 95d68dc..7f63028 100644 --- a/crates/cli/src/analyser/function.rs +++ b/crates/cli/src/analyser/function.rs @@ -1,8 +1,6 @@ use crate::analyser::core::{AnalysableFunction, Analyser}; use crate::diagnostics::diagnose::Diagnose; use crate::diagnostics::kinds::DiagnosticKind; -use tucana::shared::DataTypeIdentifier; -use tucana::shared::data_type_identifier::Type; impl Analyser { pub fn analyse_runtime_function(&mut self, af: &AnalysableFunction) { @@ -10,6 +8,18 @@ impl Analyser { let function = &af.function; let original = af.original_definition.clone(); + for linked in function.linked_data_type_identifiers.clone() { + if !self.data_type_identifier_exists(linked.as_str(), None) { + self.reporter.add(Diagnose::new( + name.clone(), + original.clone(), + DiagnosticKind::UndefinedDataTypeIdentifier { + identifier: linked.clone(), + }, + )); + } + } + if function.display_icon.is_empty() { self.reporter.add(Diagnose::new( name.clone(), @@ -68,12 +78,13 @@ impl Analyser { )); } - let mut detected_generic_keys: Vec = vec![]; - if let Some(identifier) = &function.return_type_identifier { - detected_generic_keys.append(&mut self.walk_function_dti( - &name, - &original, - identifier.clone(), + if function.signature == "" { + self.reporter.add(Diagnose::new( + name.clone(), + original.clone(), + DiagnosticKind::NullField { + field_name: "signature".into(), + }, )); } @@ -107,22 +118,6 @@ impl Analyser { )); } - if let Some(identifier) = ¶meter.data_type_identifier { - detected_generic_keys.append(&mut self.walk_function_dti( - &name, - &original, - identifier.clone(), - )); - } else { - self.reporter.add(Diagnose::new( - name.clone(), - original.clone(), - DiagnosticKind::NullField { - field_name: "data_type".into(), - }, - )); - } - if param_names.contains(¶meter.runtime_name) { self.reporter.add(Diagnose::new( name.clone(), @@ -134,85 +129,5 @@ impl Analyser { } param_names.push(parameter.runtime_name.clone()); } - - for key in function - .generic_keys - .iter() - .filter(|k| !detected_generic_keys.contains(k)) - .cloned() - { - self.reporter.add(Diagnose::new( - name.clone(), - original.clone(), - DiagnosticKind::UnusedGenericKey { key }, - )); - } - for key in detected_generic_keys - .into_iter() - .filter(|k| !function.generic_keys.contains(k)) - { - self.reporter.add(Diagnose::new( - name.clone(), - original.clone(), - DiagnosticKind::UndefinedGenericKey { key }, - )); - } - } - - fn walk_function_dti( - &mut self, - name: &str, - original: &crate::parser::Meta, - identifier: DataTypeIdentifier, - ) -> Vec { - let mut result: Vec = vec![]; - if let Some(t) = identifier.r#type { - match t { - Type::DataTypeIdentifier(dt) => { - if !self.data_type_identifier_exists(&dt, None) { - self.reporter.add(Diagnose::new( - name.to_string(), - original.clone(), - DiagnosticKind::UndefinedDataTypeIdentifier { identifier: dt }, - )); - } - } - Type::GenericType(gt) => { - if !self.data_type_identifier_exists(>.data_type_identifier, None) { - self.reporter.add(Diagnose::new( - name.to_string(), - original.clone(), - DiagnosticKind::UndefinedDataTypeIdentifier { - identifier: gt.data_type_identifier.clone(), - }, - )); - } - if gt.generic_mappers.is_empty() { - self.reporter.add(Diagnose::new( - name.to_string(), - original.clone(), - DiagnosticKind::EmptyGenericMapper, - )); - } - for mapper in >.generic_mappers { - for source in mapper.source.clone() { - result.append(&mut self.walk_function_dti(name, original, source)); - } - if !self.generic_key_in_target(&mapper.target, >.data_type_identifier) { - self.reporter.add(Diagnose::new( - name.to_string(), - original.clone(), - DiagnosticKind::GenericKeyNotInMappingTarget { - key: mapper.target.clone(), - target: gt.data_type_identifier.clone(), - }, - )); - } - } - } - Type::GenericKey(key) => result.push(key.clone()), - } - } - result } } diff --git a/crates/cli/src/analyser/index_identifier.rs b/crates/cli/src/analyser/index_identifier.rs index 588c889..3ed4bb2 100644 --- a/crates/cli/src/analyser/index_identifier.rs +++ b/crates/cli/src/analyser/index_identifier.rs @@ -35,11 +35,4 @@ impl IdentifierIndex { .map(|found| except.map(|e| *found != e).unwrap_or(true)) .unwrap_or(false) } - - pub fn has_function(&self, name: &str, except: Option) -> bool { - self.functions - .get(&normalize(name)) - .map(|found| except.map(|e| *found != e).unwrap_or(true)) - .unwrap_or(false) - } } diff --git a/crates/cli/src/diagnostics/diagnose.rs b/crates/cli/src/diagnostics/diagnose.rs index fac727b..a127842 100644 --- a/crates/cli/src/diagnostics/diagnose.rs +++ b/crates/cli/src/diagnostics/diagnose.rs @@ -23,22 +23,8 @@ impl Diagnose { pub fn print(&self) -> String { let path = format!("{}:{}:{}", Path::new(&self.definition.path).display(), 1, 1); match &self.kind { - EmptyGenericMapper => error( - format!( - "`{}` defined a generic_type but its mapper are empty!`", - self.definition_name - ), - &path, - ), DeserializationError { description } => error( - format!("A JSON paring error occurred: `{}`", description), - &path, - ), - GenericKeyNotInMappingTarget { key, target } => error( - format!( - "`{}` is mapping the key: {} onto the target: {}. But the target did not define this generic_key!", - self.definition_name, key, target - ), + format!("A JSON parsing error occurred: `{}`", description), &path, ), DuplicateDataTypeIdentifier { identifier } => error( @@ -83,27 +69,6 @@ impl Diagnose { ), &path, ), - ForbiddenVariant => error( - format!( - "The data_type variant of `{}` is 0 and thus incorrect!", - self.definition_name - ), - &path, - ), - UnusedGenericKey { key } => error( - format!( - "`{}` defined a generic_key (`{}`) that is never used!", - self.definition_name, key - ), - &path, - ), - UndefinedGenericKey { key } => error( - format!( - "`{}` uses a generic_key (`{}`) that's not defined!", - self.definition_name, key - ), - &path, - ), UndefinedTranslation { translation_field } => warning( format!( "`{}` has an empty field (`{}`) of translations!", diff --git a/crates/cli/src/diagnostics/kinds.rs b/crates/cli/src/diagnostics/kinds.rs index 7c77af3..6e5a6ab 100644 --- a/crates/cli/src/diagnostics/kinds.rs +++ b/crates/cli/src/diagnostics/kinds.rs @@ -8,12 +8,7 @@ pub enum DiagnosticKind { DuplicateRuntimeFunctionIdentifier { identifier: String }, DuplicateRuntimeParameterIdentifier { identifier: String }, UndefinedDataTypeIdentifier { identifier: String }, - EmptyGenericMapper, - GenericKeyNotInMappingTarget { key: String, target: String }, NullField { field_name: String }, - ForbiddenVariant, - UnusedGenericKey { key: String }, - UndefinedGenericKey { key: String }, UndefinedTranslation { translation_field: String }, MissingTranslation { translation_field: String }, } @@ -27,13 +22,8 @@ impl DiagnosticKind { | DuplicateFlowTypeIdentifier { .. } | DuplicateRuntimeFunctionIdentifier { .. } | DuplicateRuntimeParameterIdentifier { .. } - | GenericKeyNotInMappingTarget { .. } - | EmptyGenericMapper | UndefinedDataTypeIdentifier { .. } | NullField { .. } - | ForbiddenVariant - | UnusedGenericKey { .. } - | UndefinedGenericKey { .. } | MissingTranslation { .. } => Severity::Error, UndefinedTranslation { .. } => Severity::Warning, } diff --git a/definitions/cron/data_type/type/cron_day_of_month.proto.json b/definitions/cron/data_type/type/cron_day_of_month.proto.json index 3580b96..05ede7c 100644 --- a/definitions/cron/data_type/type/cron_day_of_month.proto.json +++ b/definitions/cron/data_type/type/cron_day_of_month.proto.json @@ -1,5 +1,4 @@ { - "variant": "TYPE", "identifier": "CRON_DAY_OF_MONTH", "name": [ { @@ -26,5 +25,6 @@ "content": "Cron Day of Month" } ], - "genericKeys": [] + "linked_data_type_identifiers": [], + "signature": "string" } diff --git a/definitions/cron/data_type/type/cron_day_of_week.proto.json b/definitions/cron/data_type/type/cron_day_of_week.proto.json index d5e55e0..34379ed 100644 --- a/definitions/cron/data_type/type/cron_day_of_week.proto.json +++ b/definitions/cron/data_type/type/cron_day_of_week.proto.json @@ -1,5 +1,4 @@ { - "variant": "TYPE", "identifier": "CRON_DAY_OF_WEEK", "name": [ { @@ -26,5 +25,6 @@ "content": "Cron Day of Week" } ], - "genericKeys": [] + "linked_data_type_identifiers": [], + "signature": "string" } diff --git a/definitions/cron/data_type/type/cron_hour.proto.json b/definitions/cron/data_type/type/cron_hour.proto.json index 61efd71..b0433cb 100644 --- a/definitions/cron/data_type/type/cron_hour.proto.json +++ b/definitions/cron/data_type/type/cron_hour.proto.json @@ -1,5 +1,4 @@ { - "variant": "TYPE", "identifier": "CRON_HOUR", "name": [ { @@ -26,5 +25,6 @@ "content": "Cron Hour" } ], - "genericKeys": [] + "linked_data_type_identifiers": [], + "signature": "string" } diff --git a/definitions/cron/data_type/type/cron_minute.proto.json b/definitions/cron/data_type/type/cron_minute.proto.json index 1ee6305..d7fa03a 100644 --- a/definitions/cron/data_type/type/cron_minute.proto.json +++ b/definitions/cron/data_type/type/cron_minute.proto.json @@ -1,5 +1,4 @@ { - "variant": "TYPE", "identifier": "CRON_MINUTE", "name": [ { @@ -26,5 +25,6 @@ "content": "Cron Minute" } ], - "genericKeys": [] + "linked_data_type_identifiers": [], + "signature": "string" } diff --git a/definitions/cron/data_type/type/cron_month.proto.json b/definitions/cron/data_type/type/cron_month.proto.json index 8bfa49f..41f0851 100644 --- a/definitions/cron/data_type/type/cron_month.proto.json +++ b/definitions/cron/data_type/type/cron_month.proto.json @@ -1,5 +1,4 @@ { - "variant": "TYPE", "identifier": "CRON_MONTH", "name": [ { @@ -26,5 +25,6 @@ "content": "Cron Month" } ], - "genericKeys": [] + "linked_data_type_identifiers": [], + "signature": "string" } diff --git a/definitions/rest/data_type/rest.header_input.proto.json b/definitions/rest/data_type/rest.header_input.proto.json index c7ffdb1..87c5690 100644 --- a/definitions/rest/data_type/rest.header_input.proto.json +++ b/definitions/rest/data_type/rest.header_input.proto.json @@ -1,5 +1,4 @@ { - "variant": "OBJECT", "identifier": "REST_HEADER_INPUT", "name": [ { @@ -20,5 +19,6 @@ } ], "rules": [], - "genericKeys": [] -} \ No newline at end of file + "linked_data_type_identifiers": ["OBJECT"], + "signature": "{}" +} diff --git a/definitions/rest/data_type/rest_adapter_input.proto.json b/definitions/rest/data_type/rest_adapter_input.proto.json index 5b6a94c..c2da1ea 100644 --- a/definitions/rest/data_type/rest_adapter_input.proto.json +++ b/definitions/rest/data_type/rest_adapter_input.proto.json @@ -1,56 +1,27 @@ { - "variant": "OBJECT", - "identifier": "REST_ADAPTER_INPUT", - "name": [ - { - "code": "en-US", - "content": "Rest Adapter Input" - } - ], - "alias": [ - { - "code": "en-US", - "content": "http;rest;adapter;input" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Rest Adapter Input" - } - ], - "rules": [ - { - "containsKey": { - "key": "body", - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "OBJECT", - "genericMappers": [ - { - "source": [ - { - "genericKey": "O" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - } - } - }, - { - "containsKey": { - "key": "headers", - "dataTypeIdentifier": { - "dataTypeIdentifier": "REST_HEADER_INPUT" - } - } - } - ], - "genericKeys": [ - "O" - ] + "identifier": "REST_ADAPTER_INPUT", + "name": [ + { + "code": "en-US", + "content": "Rest Adapter Input" + } + ], + "alias": [ + { + "code": "en-US", + "content": "http;rest;adapter;input" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Rest Adapter Input" + } + ], + "rules": [], + "genericKeys": ["T"], + "linked_data_type_identifiers": [ + "REST_HEADER_INPUT" + ], + "signature": "{ body: T, headers: REST_HEADER_INPUT }" } diff --git a/definitions/rest/flow_type/rest.proto.json b/definitions/rest/flow_type/rest.proto.json index ae51b6d..ef0331a 100644 --- a/definitions/rest/flow_type/rest.proto.json +++ b/definitions/rest/flow_type/rest.proto.json @@ -1,70 +1,68 @@ { - "identifier": "REST", - "settings": [ - { - "identifier": "HTTP_URL", - "unique": "PROJECT", - "dataTypeIdentifier": "HTTP_URL", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "URL" - } - ], - "description": [ - { - "code": "en-US", - "content": "Specifies the HTTP URL endpoint." - } - ] - }, - { - "identifier": "HTTP_METHOD", - "unique": "NONE", - "dataTypeIdentifier": "HTTP_METHOD", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Method" - } - ], - "description": [ - { - "code": "en-US", - "content": "Specifies the HTTP request method (e.g., GET, POST, PUT, DELETE)." - } - ] - } - ], - "inputTypeIdentifier": "REST_ADAPTER_INPUT", - "returnTypeIdentifier": "HTTP_RESPONSE", - "editable": false, - "name": [ - { - "code": "en-US", - "content": "Rest Endpoint" - } - ], - "description": [ - { - "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." - } - ], - "documentation": [], - "displayMessage": [ - { - "code": "en-US", - "content": "Trigger Rest-Flow on ${method} with a Request to ${route}" - } - ], - "alias": [ - { - "code": "en-US", - "content": "http;rest;route;web;webhook" - } - ], - "displayIcon": "tabler:world-www" + "identifier": "REST", + "settings": [ + { + "identifier": "HTTP_URL", + "unique": "PROJECT", + "dataTypeIdentifier": "HTTP_URL", + "name": [ + { + "code": "en-US", + "content": "URL" + } + ], + "description": [ + { + "code": "en-US", + "content": "Specifies the HTTP URL endpoint." + } + ] + }, + { + "identifier": "HTTP_METHOD", + "unique": "NONE", + "dataTypeIdentifier": "HTTP_METHOD", + "name": [ + { + "code": "en-US", + "content": "Method" + } + ], + "description": [ + { + "code": "en-US", + "content": "Specifies the HTTP request method (e.g., GET, POST, PUT, DELETE)." + } + ] + } + ], + "inputTypeIdentifier": "REST_ADAPTER_INPUT", + "returnTypeIdentifier": "HTTP_RESPONSE", + "editable": false, + "name": [ + { + "code": "en-US", + "content": "Rest Endpoint" + } + ], + "description": [ + { + "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." + } + ], + "documentation": [], + "displayMessage": [ + { + "code": "en-US", + "content": "Trigger Rest-Flow on ${method} with a Request to ${route}" + } + ], + "alias": [ + { + "code": "en-US", + "content": "http;rest;route;web;webhook" + } + ], + "displayIcon": "tabler:world-www" } diff --git a/definitions/rest/runtime_definition/rest_control_respond.proto.json b/definitions/rest/runtime_definition/rest_control_respond.proto.json index fd2f72a..12cf063 100644 --- a/definitions/rest/runtime_definition/rest_control_respond.proto.json +++ b/definitions/rest/runtime_definition/rest_control_respond.proto.json @@ -1,55 +1,50 @@ { - "runtimeName": "rest::control::respond", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "HTTP_RESPONSE" - }, - "runtimeName": "http_response", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Http Response" - } - ], - "description": [ - { - "code": "en-US", - "content": "Takes an HTTP response object and transmits it to the requesting client. This parameter represents the final output of the server, including headers, status code, and body content." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": null, - "deprecationMessage": [], - "name": [ - { - "code": "en-US", - "content": "Respond" - } - ], - "description": [ - { - "code": "en-US", - "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." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "respond;control;http" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Sends ${http_response} as a Response" - } - ], - "throwsError": false, - "genericKeys": [], - "displayIcon": "tabler:cube-sent" + "runtimeName": "rest::control::respond", + "runtimeParameterDefinitions": [ + { + "runtimeName": "http_response", + "name": [ + { + "code": "en-US", + "content": "Http Response" + } + ], + "description": [ + { + "code": "en-US", + "content": "Takes an HTTP response object and transmits it to the requesting client. This parameter represents the final output of the server, including headers, status code, and body content." + } + ], + "documentation": [] + } + ], + "deprecationMessage": [], + "name": [ + { + "code": "en-US", + "content": "Respond" + } + ], + "description": [ + { + "code": "en-US", + "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." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "respond;control;http" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Sends ${http_response} as a Response" + } + ], + "throwsError": false, + "displayIcon": "tabler:cube-sent", + "signature": "(http_response: HTTP_RESPONSE) => void" } diff --git a/definitions/standard/data_type/array/http_header_map.proto.json b/definitions/standard/data_type/array/http_header_map.proto.json index cb694fb..6d184e0 100644 --- a/definitions/standard/data_type/array/http_header_map.proto.json +++ b/definitions/standard/data_type/array/http_header_map.proto.json @@ -1,45 +1,27 @@ { - "variant": "ARRAY", - "identifier": "HTTP_HEADER_MAP", - "name": [ - { - "code": "en-US", - "content": "HTTP Headers" - } - ], - "alias": [ - { - "code": "en-US", - "content": "http;headers" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "HTTP Headers" - } - ], - "rules": [ - { - "parentType": { - "parentType": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "dataTypeIdentifier": "HTTP_HEADER_ENTRY" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - } - } - } - ], - "genericKeys": [] + "identifier": "HTTP_HEADER_MAP", + "name": [ + { + "code": "en-US", + "content": "HTTP Headers" + } + ], + "alias": [ + { + "code": "en-US", + "content": "http;headers" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "HTTP Headers" + } + ], + "rules": [], + "linked_data_type_identifiers": [ + "HTTP_HEADER_ENTRY", + "LIST" + ], + "signature": "LIST" } diff --git a/definitions/standard/data_type/array/list.proto.json b/definitions/standard/data_type/array/list.proto.json index a46ee15..c0288c7 100644 --- a/definitions/standard/data_type/array/list.proto.json +++ b/definitions/standard/data_type/array/list.proto.json @@ -1,5 +1,4 @@ { - "variant": "ARRAY", "identifier": "LIST", "name": [ { @@ -19,16 +18,7 @@ "content": "List of ${T}" } ], - "rules": [ - { - "containsType": { - "dataTypeIdentifier": { - "genericKey": "T" - } - } - } - ], - "genericKeys": [ - "T" - ] + "genericKeys": ["T"], + "rules": [], + "signature": "T[]" } diff --git a/definitions/standard/data_type/data_type/data_type.proto.json b/definitions/standard/data_type/data_type/data_type.proto.json deleted file mode 100644 index e1b642e..0000000 --- a/definitions/standard/data_type/data_type/data_type.proto.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "variant": "DATATYPE", - "identifier": "DATA_TYPE", - "name": [ - { - "code": "en-US", - "content": "DataType" - } - ], - "alias": [ - { - "code": "en-US", - "content": "type;struct;data;data_type;datatype" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "DataType" - } - ], - "rules": [ - { - "parentType": { - "parentType": { - "genericKey": "T" - } - } - } - ], - "genericKeys": ["T"] -} diff --git a/definitions/standard/data_type/node/comparator.proto.json b/definitions/standard/data_type/node/comparator.proto.json index 5ef38a5..047c0b6 100644 --- a/definitions/standard/data_type/node/comparator.proto.json +++ b/definitions/standard/data_type/node/comparator.proto.json @@ -1,5 +1,4 @@ { - "variant": "NODE", "identifier": "COMPARATOR", "name": [ { @@ -19,34 +18,10 @@ "content": "Compare ${I}" } ], - "rules": [ - { - "returnType": { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - } - } - }, - { - "inputTypes": { - "inputTypes": [ - { - "dataTypeIdentifier": { - "genericKey": "I" - }, - "inputIdentifier": "left" - }, - { - "dataTypeIdentifier": { - "genericKey": "I" - }, - "inputIdentifier": "right" - } - ] - } - } - ], - "genericKeys": [ - "I" + "rules": [], + "genericKeys": ["I"], + "signature": "(left: I, right: I) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" ] } diff --git a/definitions/standard/data_type/node/consumer.proto.json b/definitions/standard/data_type/node/consumer.proto.json index de2df8f..f3a9c1c 100644 --- a/definitions/standard/data_type/node/consumer.proto.json +++ b/definitions/standard/data_type/node/consumer.proto.json @@ -1,5 +1,4 @@ { - "variant": "NODE", "identifier": "CONSUMER", "name": [ { @@ -19,21 +18,7 @@ "content": "Use ${T}" } ], - "rules": [ - { - "inputTypes": { - "inputTypes": [ - { - "dataTypeIdentifier": { - "genericKey": "T" - }, - "inputIdentifier": "consumer" - } - ] - } - } - ], - "genericKeys": [ - "T" - ] + "rules": [], + "genericKeys": ["T"], + "signature": "(item: T) => void" } diff --git a/definitions/standard/data_type/node/predicate.proto.json b/definitions/standard/data_type/node/predicate.proto.json index 0c28298..2927b34 100644 --- a/definitions/standard/data_type/node/predicate.proto.json +++ b/definitions/standard/data_type/node/predicate.proto.json @@ -1,5 +1,4 @@ { - "variant": "NODE", "identifier": "PREDICATE", "name": [ { @@ -19,28 +18,10 @@ "content": "Predicate of ${T}" } ], - "rules": [ - { - "returnType": { - "dataTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - } - } - }, - { - "inputTypes": { - "inputTypes": [ - { - "dataTypeIdentifier": { - "genericKey": "T" - }, - "inputIdentifier": "predicate" - } - ] - } - } - ], - "genericKeys": [ - "T" + "rules": [], + "genericKeys": ["T"], + "signature": "(item: T) => BOOLEAN", + "linked_data_type_identifiers": [ + "BOOLEAN" ] } diff --git a/definitions/standard/data_type/node/runnable.proto.json b/definitions/standard/data_type/node/runnable.proto.json index ba778ab..edbc201 100644 --- a/definitions/standard/data_type/node/runnable.proto.json +++ b/definitions/standard/data_type/node/runnable.proto.json @@ -1,5 +1,4 @@ { - "variant": "NODE", "identifier": "RUNNABLE", "name": [ { @@ -20,5 +19,5 @@ } ], "rules": [], - "genericKeys": [] + "signature": "() => void" } diff --git a/definitions/standard/data_type/node/transform.proto.json b/definitions/standard/data_type/node/transform.proto.json index 27fbc0d..8312e15 100644 --- a/definitions/standard/data_type/node/transform.proto.json +++ b/definitions/standard/data_type/node/transform.proto.json @@ -1,5 +1,4 @@ { - "variant": "NODE", "identifier": "TRANSFORM", "name": [ { @@ -19,29 +18,7 @@ "content": "Transform ${I} to ${R}" } ], - "rules": [ - { - "returnType": { - "dataTypeIdentifier": { - "genericKey": "R" - } - } - }, - { - "inputTypes": { - "inputTypes": [ - { - "dataTypeIdentifier": { - "genericKey": "I" - }, - "inputIdentifier": "transform" - } - ] - } - } - ], - "genericKeys": [ - "I", - "R" - ] + "rules": [], + "genericKeys": ["T", "R"], + "signature": "(item: I) => R" } diff --git a/definitions/standard/data_type/object/http_header_entry.proto.json b/definitions/standard/data_type/object/http_header_entry.proto.json index 2137522..1fc582c 100644 --- a/definitions/standard/data_type/object/http_header_entry.proto.json +++ b/definitions/standard/data_type/object/http_header_entry.proto.json @@ -1,5 +1,4 @@ { - "variant": "OBJECT", "identifier": "HTTP_HEADER_ENTRY", "name": [ { @@ -19,23 +18,9 @@ "content": "HTTP Header Entry" } ], - "rules": [ - { - "containsKey": { - "key": "key", - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - } - } - }, - { - "containsKey": { - "key": "value", - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - } - } - } + "signature": "{ key: TEXT, value: TEXT }", + "linked_data_type_identifiers": [ + "TEXT" ], - "genericKeys": [] + "rules": [] } diff --git a/definitions/standard/data_type/object/http_request.proto.json b/definitions/standard/data_type/object/http_request.proto.json index 8e2d6e4..ab96607 100644 --- a/definitions/standard/data_type/object/http_request.proto.json +++ b/definitions/standard/data_type/object/http_request.proto.json @@ -1,5 +1,4 @@ { - "variant": "OBJECT", "identifier": "HTTP_REQUEST", "name": [ { @@ -19,52 +18,12 @@ "content": "HTTP Request" } ], - "rules": [ - { - "containsKey": { - "key": "method", - "dataTypeIdentifier": { - "dataTypeIdentifier": "HTTP_METHOD" - } - } - }, - { - "containsKey": { - "key": "url", - "dataTypeIdentifier": { - "dataTypeIdentifier": "HTTP_URL" - } - } - }, - { - "containsKey": { - "key": "body", - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "OBJECT", - "genericMappers": [ - { - "source": [ - { - "genericKey": "O" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - } - } - }, - { - "containsKey": { - "key": "headers", - "dataTypeIdentifier": { - "dataTypeIdentifier": "HTTP_HEADER_MAP" - } - } - } - ], - "genericKeys": ["O"] + "signature": "{ method: HTTP_METHOD, url: HTTP_URL, body: T, headers: HTTP_HEADER_MAP }", + "genericKeys": ["T"], + "rules": [], + "linked_data_type_identifiers": [ + "HTTP_METHOD", + "HTTP_URL", + "HTTP_HEADER_MAP" + ] } diff --git a/definitions/standard/data_type/object/http_response.proto.json b/definitions/standard/data_type/object/http_response.proto.json index b40cb11..8b9a891 100644 --- a/definitions/standard/data_type/object/http_response.proto.json +++ b/definitions/standard/data_type/object/http_response.proto.json @@ -1,5 +1,4 @@ { - "variant": "OBJECT", "identifier": "HTTP_RESPONSE", "name": [ { @@ -19,38 +18,11 @@ "content": "HTTP Response" } ], - "rules": [ - { - "containsKey": { - "key": "headers", - "dataTypeIdentifier": { - "dataTypeIdentifier": "HTTP_HEADER_MAP" - } - } - }, - { - "containsKey": { - "key": "body", - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "OBJECT", - "genericMappers": [ - { - "source": [ - { - "genericKey": "O" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - } - } - } + "genericKeys": ["T"], + "signature": "{ body: T, headers: HTTP_HEADER_MAP, status_code: HTTP_STATUS_CODE }", + "linked_data_type_identifiers": [ + "HTTP_STATUS_CODE", + "HTTP_HEADER_MAP" ], - "genericKeys": [ - "O" - ] + "rules": [] } diff --git a/definitions/standard/data_type/object/object.proto.json b/definitions/standard/data_type/object/object.proto.json index 6fffa62..283c87b 100644 --- a/definitions/standard/data_type/object/object.proto.json +++ b/definitions/standard/data_type/object/object.proto.json @@ -1,34 +1,24 @@ { - "variant": "OBJECT", - "identifier": "OBJECT", - "name": [ - { - "code": "en-US", - "content": "Object" - } - ], - "alias": [ - { - "code": "en-US", - "content": "object;struct;data" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Object" - } - ], - "rules": [ - { - "parentType": { - "parentType": { - "genericKey": "T" - } - } - } - ], - "genericKeys": [ - "T" - ] + "identifier": "OBJECT", + "name": [ + { + "code": "en-US", + "content": "Object" + } + ], + "alias": [ + { + "code": "en-US", + "content": "object;struct;data" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Object" + } + ], + "genericKeys": ["T"], + "signature": "T & {}", + "rules": [] } diff --git a/definitions/standard/data_type/primitive/boolean.proto.json b/definitions/standard/data_type/primitive/boolean.proto.json index ce59e5a..bffaba5 100644 --- a/definitions/standard/data_type/primitive/boolean.proto.json +++ b/definitions/standard/data_type/primitive/boolean.proto.json @@ -1,30 +1,23 @@ { - "variant": "PRIMITIVE", - "identifier": "BOOLEAN", - "name": [ - { - "code": "en-US", - "content": "Boolean" - } - ], - "alias": [ - { - "code": "en-US", - "content": "bool;boolean;bit" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Boolean" - } - ], - "rules": [ - { - "regex": { - "pattern": "^(true|false)$" - } - } - ], - "genericKeys": [] + "identifier": "BOOLEAN", + "name": [ + { + "code": "en-US", + "content": "Boolean" + } + ], + "alias": [ + { + "code": "en-US", + "content": "bool;boolean;bit" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Boolean" + } + ], + "signature": "boolean", + "rules": [] } diff --git a/definitions/standard/data_type/primitive/number.proto.json b/definitions/standard/data_type/primitive/number.proto.json index 9e53c4e..c9425d7 100644 --- a/definitions/standard/data_type/primitive/number.proto.json +++ b/definitions/standard/data_type/primitive/number.proto.json @@ -1,5 +1,4 @@ { - "variant": "PRIMITIVE", "identifier": "NUMBER", "name": [ { @@ -19,12 +18,6 @@ "content": "Number" } ], - "rules": [ - { - "regex": { - "pattern": "^-?(?:(?:0|[1-8][0-9]{0,2}(?:,[0-9]{3})*|[1-8][0-9]{0,14}|9,00[0-6](?:,[0-9]{3}){4}|900[0-6][0-9]{11}|9,007,199,254,740,990|9007199254740990)(?:[.][0-9]+)?|-?(?:9,007,199,254,740,991(?:[.]0+)?|9007199254740991(?:[.]0+)?))$" - } - } - ], - "genericKeys": [] + "signature": "number", + "rules": [] } diff --git a/definitions/standard/data_type/primitive/text.proto.json b/definitions/standard/data_type/primitive/text.proto.json index f0f8b6d..ea428ca 100644 --- a/definitions/standard/data_type/primitive/text.proto.json +++ b/definitions/standard/data_type/primitive/text.proto.json @@ -1,5 +1,4 @@ { - "variant": "PRIMITIVE", "identifier": "TEXT", "name": [ { @@ -19,12 +18,6 @@ "content": "Text" } ], - "rules": [ - { - "regex": { - "pattern": "[\\s\\S]*" - } - } - ], - "genericKeys": [] + "signature": "string", + "rules": [] } diff --git a/definitions/standard/data_type/type/http_method.proto.json b/definitions/standard/data_type/type/http_method.proto.json index fb0267a..e5f903f 100644 --- a/definitions/standard/data_type/type/http_method.proto.json +++ b/definitions/standard/data_type/type/http_method.proto.json @@ -1,49 +1,24 @@ { - "variant": "TYPE", - "identifier": "HTTP_METHOD", - "name": [ - { - "code": "en-US", - "content": "HTTP Method" - } - ], - "alias": [ - { - "code": "en-US", - "content": "http;method;get;post;put;delete;path;head" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "HTTP Method" - } - ], - "rules": [ - { - "itemOfCollection": { - "items": [ - { - "stringValue": "GET" - }, - { - "stringValue": "POST" - }, - { - "stringValue": "PUT" - }, - { - "stringValue": "DELETE" - }, - { - "stringValue": "PATCH" - }, - { - "stringValue": "HEAD" - } - ] - } - } - ], - "genericKeys": [] + "identifier": "HTTP_METHOD", + "name": [ + { + "code": "en-US", + "content": "HTTP Method" + } + ], + "alias": [ + { + "code": "en-US", + "content": "http;method;get;post;put;delete;path;head" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "HTTP Method" + } + ], + "signature": "'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD'", + "linked_data_type_identifiers": [], + "rules": [] } diff --git a/definitions/standard/data_type/type/http_status_code.proto.json b/definitions/standard/data_type/type/http_status_code.proto.json index dd23ff2..8d137f6 100644 --- a/definitions/standard/data_type/type/http_status_code.proto.json +++ b/definitions/standard/data_type/type/http_status_code.proto.json @@ -1,31 +1,33 @@ { - "variant": "TYPE", - "identifier": "HTTP_STATUS_CODE", - "name": [ - { - "code": "en-US", - "content": "HTTP Status Code" - } - ], - "alias": [ - { - "code": "en-US", - "content": "http;status;code" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "HTTP Status Code" - } - ], - "rules": [ - { - "numberRange": { - "from": 100, - "to": 599 - } - } - ], - "genericKeys": [] + "identifier": "HTTP_STATUS_CODE", + "name": [ + { + "code": "en-US", + "content": "HTTP Status Code" + } + ], + "alias": [ + { + "code": "en-US", + "content": "http;status;code" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "HTTP Status Code" + } + ], + "signature": "NUMBER", + "linked_data_type_identifiers": [ + "NUMBER" + ], + "rules": [ + { + "numberRange": { + "from": 100, + "to": 599 + } + } + ] } diff --git a/definitions/standard/data_type/type/http_url.proto.json b/definitions/standard/data_type/type/http_url.proto.json index c63b464..2ddd092 100644 --- a/definitions/standard/data_type/type/http_url.proto.json +++ b/definitions/standard/data_type/type/http_url.proto.json @@ -1,5 +1,4 @@ { - "variant": "TYPE", "identifier": "HTTP_URL", "name": [ { @@ -19,12 +18,15 @@ "content": "HTTP Route" } ], + "signature": "TEXT", + "linked_data_type_identifiers": [ + "TEXT" + ], "rules": [ { "regex": { "pattern": "^/\\w+(?:[.:~-]\\w+)*(?:/\\w+(?:[.:~-]\\w+)*)*$" } } - ], - "genericKeys": [] + ] } diff --git a/definitions/standard/data_type/type/text_encoding.proto.json b/definitions/standard/data_type/type/text_encoding.proto.json index 662d213..5e8bbcd 100644 --- a/definitions/standard/data_type/type/text_encoding.proto.json +++ b/definitions/standard/data_type/type/text_encoding.proto.json @@ -1,5 +1,4 @@ { - "variant": "TYPE", "identifier": "TEXT_ENCODING", "name": [ { @@ -19,16 +18,6 @@ "content": "Text Encoding" } ], - "rules": [ - { - "itemOfCollection": { - "items": [ - { - "stringValue": "BASE64" - } - ] - } - } - ], - "genericKeys": [] + "signature": "'BASE64'", + "rules": [] } diff --git a/definitions/standard/runtime_definition/array/std_array_at.proto.json b/definitions/standard/runtime_definition/array/std_array_at.proto.json index a6827ae..99ff0d7 100644 --- a/definitions/standard/runtime_definition/array/std_array_at.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_at.proto.json @@ -1,92 +1,72 @@ { - "runtimeName": "std::list::at", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The list from which to retrieve an element." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "index", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Index" - } - ], - "description": [ - { - "code": "en-US", - "content": "The zero-based index of the element to retrieve." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericKey": "R" - }, - "throwsError": true, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Get Element of List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Retrieves the element at a specified index from a list." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "at;array;list;collection;std;index" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Get element at ${index} of ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::at", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The list from which to retrieve an element." + } + ], + "documentation": [] + }, + { + "runtimeName": "index", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Index" + } + ], + "description": [ + { + "code": "en-US", + "content": "The zero-based index of the element to retrieve." + } + ], + "documentation": [] + } + ], + "linkedDataTypeIdentifiers": [ + "LIST", + "NUMBER" + ], + "throwsError": true, + "name": [ + { + "code": "en-US", + "content": "Get Element of List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Retrieves the element at a specified index from a list." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "at;array;list;collection;std;index" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Get element at ${index} of ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "signature": "(list: LIST, index: NUMBER) => void" } diff --git a/definitions/standard/runtime_definition/array/std_array_concat.proto.json b/definitions/standard/runtime_definition/array/std_array_concat.proto.json index c32b144..99e19ed 100644 --- a/definitions/standard/runtime_definition/array/std_array_concat.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_concat.proto.json @@ -1,118 +1,71 @@ { - "runtimeName": "std::list::concat", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "first", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "First List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The first list to concatenate." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "second", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Second List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The second list to concatenate." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "throwsError": true, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Combine Lists" - } - ], - "description": [ - { - "code": "en-US", - "content": "Concatenates/combine two lists into a single list." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "concat;combine;join;append;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Combine ${first} with ${second}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::concat", + "runtimeParameterDefinitions": [ + { + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "First List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The first list to concatenate." + } + ], + "documentation": [] + }, + { + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Second List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The second list to concatenate." + } + ], + "documentation": [] + } + ], + "throwsError": true, + "name": [ + { + "code": "en-US", + "content": "Combine Lists" + } + ], + "description": [ + { + "code": "en-US", + "content": "Concatenates/combine two lists into a single list." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "concat;combine;join;append;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Combine ${first} with ${second}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "signature": "(first: LIST, second: LIST) => LIST", + "linkedDataTypeIdentifiers": [ + "LIST" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_filter.proto.json b/definitions/standard/runtime_definition/array/std_array_filter.proto.json index f84abaa..3b05349 100644 --- a/definitions/standard/runtime_definition/array/std_array_filter.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_filter.proto.json @@ -1,118 +1,71 @@ { - "runtimeName": "std::list::filter", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The list to be filtered." - } - ], - "documentation": [] - }, - { - "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 function that takes an element of the list and returns a boolean indicating whether the element should be included in the output list." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Filter List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a new list containing only the elements from the input list for which the predicate returns true." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "filter;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Filter elements in ${list} matching ${predicate}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:arrow-iteration" + "runtimeName": "std::list::filter", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The list to be filtered." + } + ], + "documentation": [] + }, + { + "runtimeName": "predicate", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Filter Predicate" + } + ], + "description": [ + { + "code": "en-US", + "content": "A function that takes an element of the list and returns a boolean indicating whether the element should be included in the output list." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Filter List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a new list containing only the elements from the input list for which the predicate returns true." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "filter;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Filter elements in ${list} matching ${predicate}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:arrow-iteration", + "linkedDataTypeIdentifiers": [ + "LIST" + ], + "signature": "(list: LIST, predicate: PREDICATE) => LIST" } diff --git a/definitions/standard/runtime_definition/array/std_array_find.proto.json b/definitions/standard/runtime_definition/array/std_array_find.proto.json index 6643841..bb7eb4a 100644 --- a/definitions/standard/runtime_definition/array/std_array_find.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_find.proto.json @@ -1,105 +1,72 @@ { - "runtimeName": "std::list::find", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The list in which an element satisfying the predicate will be searched." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "PREDICATE", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "predicate", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Search Predicate" - } - ], - "description": [ - { - "code": "en-US", - "content": "A function that takes an element of the list and returns a boolean indicating if the element matches the search criteria." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericKey": "R" - }, - "throwsError": true, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Find Element in List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns the first element from the input list for which the predicate returns true. If no element matches, returns null." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "find;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Find first element in ${list} matching ${predicate}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:arrow-iteration" + "runtimeName": "std::list::find", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The list in which an element satisfying the predicate will be searched." + } + ], + "documentation": [] + }, + { + "runtimeName": "predicate", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Search Predicate" + } + ], + "description": [ + { + "code": "en-US", + "content": "A function that takes an element of the list and returns a boolean indicating if the element matches the search criteria." + } + ], + "documentation": [] + } + ], + "throwsError": true, + "name": [ + { + "code": "en-US", + "content": "Find Element in List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns the first element from the input list for which the predicate returns true. If no element matches, returns null." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "find;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Find first element in ${list} matching ${predicate}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:arrow-iteration", + "signature": "(list: LIST, predicate: PREDICATE) => T", + "linkedDataTypeIdentifiers": [ + "LIST", + "PREDICATE" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_find_index.proto.json b/definitions/standard/runtime_definition/array/std_array_find_index.proto.json index 24b94ca..c94c048 100644 --- a/definitions/standard/runtime_definition/array/std_array_find_index.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_find_index.proto.json @@ -1,105 +1,73 @@ { - "runtimeName": "std::list::find_index", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The list in which to find the index of an element that satisfies the predicate." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "PREDICATE", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "predicate", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Search Predicate" - } - ], - "description": [ - { - "code": "en-US", - "content": "A function that takes an element of the list and returns a boolean indicating if the element satisfies the search criteria." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Find Index of Element in List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns the zero-based index of the first element for which the predicate returns true. If no element matches, returns -1." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "find index;index of;position;array;list;collection;std;find;index" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Index of Element in ${list} matching ${predicate}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:arrow-iteration" + "runtimeName": "std::list::find_index", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The list in which to find the index of an element that satisfies the predicate." + } + ], + "documentation": [] + }, + { + "runtimeName": "predicate", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Search Predicate" + } + ], + "description": [ + { + "code": "en-US", + "content": "A function that takes an element of the list and returns a boolean indicating if the element satisfies the search criteria." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Find Index of Element in List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns the zero-based index of the first element for which the predicate returns true. If no element matches, returns -1." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "find index;index of;position;array;list;collection;std;find;index" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Index of Element in ${list} matching ${predicate}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:arrow-iteration", + "signature": "(list: LIST, predicate: PREDICATE) => NUMBER", + "linkedDataTypeIdentifiers": [ + "LIST", + "NUMBER", + "PREDICATE" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_find_last.proto.json b/definitions/standard/runtime_definition/array/std_array_find_last.proto.json index 6c6ca3c..0dfbe9a 100644 --- a/definitions/standard/runtime_definition/array/std_array_find_last.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_find_last.proto.json @@ -1,105 +1,72 @@ { - "runtimeName": "std::list::find_last", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The list in which an element satisfying the predicate will be searched." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "PREDICATE", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "predicate", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Search Predicate" - } - ], - "description": [ - { - "code": "en-US", - "content": "A function that takes an element of the list and returns a boolean indicating if the element matches the search criteria." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericKey": "R" - }, - "throwsError": true, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Find Last Element in List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns the last element from the input list for which the predicate returns true. If no element matches, returns null or equivalent." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "find last;last index;last position;array;list;collection;std;find;last" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Last Element of ${list} matching ${predicate}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:arrow-iteration" + "runtimeName": "std::list::find_last", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The list in which an element satisfying the predicate will be searched." + } + ], + "documentation": [] + }, + { + "runtimeName": "predicate", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Search Predicate" + } + ], + "description": [ + { + "code": "en-US", + "content": "A function that takes an element of the list and returns a boolean indicating if the element matches the search criteria." + } + ], + "documentation": [] + } + ], + "throwsError": true, + "name": [ + { + "code": "en-US", + "content": "Find Last Element in List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns the last element from the input list for which the predicate returns true. If no element matches, returns null or equivalent." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "find last;last index;last position;array;list;collection;std;find;last" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Last Element of ${list} matching ${predicate}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:arrow-iteration", + "signature": "(list: LIST, predicate: PREDICATE) => T", + "linkedDataTypeIdentifiers": [ + "LIST", + "PREDICATE" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_first.proto.json b/definitions/standard/runtime_definition/array/std_array_first.proto.json index b3dbb6d..43dfe57 100644 --- a/definitions/standard/runtime_definition/array/std_array_first.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_first.proto.json @@ -1,72 +1,54 @@ { - "runtimeName": "std::list::first", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The list from which to retrieve the first element." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericKey": "R" - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "First Element of List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Retrieves the first element from the list." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "first;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Get First Element in ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::first", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The list from which to retrieve the first element." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "First Element of List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Retrieves the first element from the list." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "first;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Get First Element in ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "linkedDataTypeIdentifiers": [ + "LIST" + ], + "signature": "(list: LIST) => T" } diff --git a/definitions/standard/runtime_definition/array/std_array_flat.proto.json b/definitions/standard/runtime_definition/array/std_array_flat.proto.json index 09eda83..c0ecd0d 100644 --- a/definitions/standard/runtime_definition/array/std_array_flat.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_flat.proto.json @@ -1,98 +1,54 @@ { - "runtimeName": "std::list::flat", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Nested List" - } - ], - "description": [ - { - "code": "en-US", - "content": "A list containing sub-lists that will be flattened into a single-level list." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Flatten List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Flattens a nested list into a single-level list." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "flat;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Flatten ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::flat", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Nested List" + } + ], + "description": [ + { + "code": "en-US", + "content": "A list containing sub-lists that will be flattened into a single-level list." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Flatten List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Flattens a nested list into a single-level list." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "flat;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Flatten ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "signature": "(list: LIST>) => LIST", + "linkedDataTypeIdentifiers": [ + "LIST" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_for_each.proto.json b/definitions/standard/runtime_definition/array/std_array_for_each.proto.json index 31557c8..eb10ffd 100644 --- a/definitions/standard/runtime_definition/array/std_array_for_each.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_for_each.proto.json @@ -1,103 +1,72 @@ { - "runtimeName": "std::list::for_each", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Each element of this list will be passed to the provided consumer function for processing." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "CONSUMER", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "consumer", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Consumer Function" - } - ], - "description": [ - { - "code": "en-US", - "content": "This function is invoked once for each element in the list. It is not expected to return a value." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": null, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "For Each Element" - } - ], - "description": [ - { - "code": "en-US", - "content": "Executes a consumer function for each element in the list." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "for_each;array;list;collection;std;for;each" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "For each in ${list} do ${consumer}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:arrow-iteration" + "runtimeName": "std::list::for_each", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Each element of this list will be passed to the provided consumer function for processing." + } + ], + "documentation": [] + }, + { + "runtimeName": "consumer", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Consumer Function" + } + ], + "description": [ + { + "code": "en-US", + "content": "This function is invoked once for each element in the list. It is not expected to return a value." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "For Each Element" + } + ], + "description": [ + { + "code": "en-US", + "content": "Executes a consumer function for each element in the list." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "for_each;array;list;collection;std;for;each" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "For each in ${list} do ${consumer}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:arrow-iteration", + "linkedDataTypeIdentifiers": [ + "LIST", + "CONSUMER" + ], + "signature": "(list: LIST, consumer: CONSUMER) => void" } diff --git a/definitions/standard/runtime_definition/array/std_array_index_of.proto.json b/definitions/standard/runtime_definition/array/std_array_index_of.proto.json index 01904c0..8961447 100644 --- a/definitions/standard/runtime_definition/array/std_array_index_of.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_index_of.proto.json @@ -1,92 +1,72 @@ { - "runtimeName": "std::list::index_of", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "List" - } - ], - "description": [ - { - "code": "en-US", - "content": "A list of elements in which the specified item will be searched for to determine its index." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "genericKey": "R" - }, - "runtimeName": "item", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Item" - } - ], - "description": [ - { - "code": "en-US", - "content": "The item for which the function searches in the list and returns the index of its first occurrence." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Index of Item" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns the zero-based index of the first occurrence of a given item in the specified list. If the item is not found, it typically returns -1." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "index_of;array;list;collection;std;index;of" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Get Index of ${item} in ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::index_of", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "List" + } + ], + "description": [ + { + "code": "en-US", + "content": "A list of elements in which the specified item will be searched for to determine its index." + } + ], + "documentation": [] + }, + { + "runtimeName": "item", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Item" + } + ], + "description": [ + { + "code": "en-US", + "content": "The item for which the function searches in the list and returns the index of its first occurrence." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Index of Item" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns the zero-based index of the first occurrence of a given item in the specified list. If the item is not found, it typically returns -1." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "index_of;array;list;collection;std;index;of" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Get Index of ${item} in ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "signature": "(list: LIST, item: T) => NUMBER", + "linkedDataTypeIdentifiers": [ + "LIST", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_is_empty.proto.json b/definitions/standard/runtime_definition/array/std_array_is_empty.proto.json index b7a60eb..e5e2e5c 100644 --- a/definitions/standard/runtime_definition/array/std_array_is_empty.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_is_empty.proto.json @@ -2,22 +2,6 @@ "runtimeName": "std::list::is_empty", "runtimeParameterDefinitions": [ { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, "runtimeName": "list", "defaultValue": null, "name": [ @@ -35,13 +19,7 @@ "documentation": [] } ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, "throwsError": false, - "genericKeys": [ - "R" - ], "name": [ { "code": "en-US", @@ -68,5 +46,10 @@ } ], "deprecationMessage": [], - "displayIcon": "tabler:list" + "displayIcon": "tabler:list", + "signature": "(list: LIST) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "LIST", + "BOOLEAN" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_join.proto.json b/definitions/standard/runtime_definition/array/std_array_join.proto.json index 7637b89..5bc627b 100644 --- a/definitions/standard/runtime_definition/array/std_array_join.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_join.proto.json @@ -1,90 +1,72 @@ { - "runtimeName": "std::list::join", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "dataTypeIdentifier": "TEXT" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "List of Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "A list of text elements to combined into a single word." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "join_text", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Join Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The text that will be used to join the list elements into a single string." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Join Text List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a single concatenated string of text joined by the provided join text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "join;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Joins ${list} using '${join_text}'" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::join", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "List of Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "A list of text elements to combined into a single word." + } + ], + "documentation": [] + }, + { + "runtimeName": "join_text", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Join Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The text that will be used to join the list elements into a single string." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Join Text List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a single concatenated string of text joined by the provided join text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "join;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Joins ${list} using '${join_text}'" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "signature": "(list: LIST, join_text: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "LIST", + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_last.proto.json b/definitions/standard/runtime_definition/array/std_array_last.proto.json index 909e019..60ea1bc 100644 --- a/definitions/standard/runtime_definition/array/std_array_last.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_last.proto.json @@ -1,72 +1,54 @@ { - "runtimeName": "std::list::last", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The list from which to retrieve the last element." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericKey": "R" - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Last Element of List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Retrieves the last element from the list." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "last;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Get Last Element of ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::last", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The list from which to retrieve the last element." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Last Element of List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Retrieves the last element from the list." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "last;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Get Last Element of ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "signature": "(list: LIST) => T", + "linkedDataTypeIdentifiers": [ + "LIST" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_map.proto.json b/definitions/standard/runtime_definition/array/std_array_map.proto.json index b755f23..b5bd3b7 100644 --- a/definitions/standard/runtime_definition/array/std_array_map.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_map.proto.json @@ -1,128 +1,72 @@ { - "runtimeName": "std::list::map", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "IN" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Each element of this list will be passed through the transform function." - } - ], - "documentation": [] - }, - { - "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": "The transform function is applied to every element of the list to produce a new list." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "OUT" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "throwsError": false, - "genericKeys": [ - "IN", - "OUT" - ], - "name": [ - { - "code": "en-US", - "content": "Map List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Transforms each element in the list using the provided function. This will create a new list of new elements which will be returned." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "map;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Apply ${transform} for each in ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:arrow-iteration" + "runtimeName": "std::list::map", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Each element of this list will be passed through the transform function." + } + ], + "documentation": [] + }, + { + "runtimeName": "transform", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Transform Function" + } + ], + "description": [ + { + "code": "en-US", + "content": "The transform function is applied to every element of the list to produce a new list." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Map List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Transforms each element in the list using the provided function. This will create a new list of new elements which will be returned." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "map;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Apply ${transform} for each in ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:arrow-iteration", + "linkedDataTypeIdentifiers": [ + "LIST", + "TRANSFORM" + ], + "signature": "(list: LIST, transform: TRANSFORM) => LIST" } diff --git a/definitions/standard/runtime_definition/array/std_array_max.proto.json b/definitions/standard/runtime_definition/array/std_array_max.proto.json index 696d22f..a5d3f7a 100644 --- a/definitions/standard/runtime_definition/array/std_array_max.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_max.proto.json @@ -1,72 +1,55 @@ { - "runtimeName": "std::list::max", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "List of Numbers" - } - ], - "description": [ - { - "code": "en-US", - "content": "A list of numbers to find the maximum value from." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Find Maximum Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "Finds the maximum value in a numeric list." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "max;maximum;largest;greatest;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Maximum of ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::max", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "List of Numbers" + } + ], + "description": [ + { + "code": "en-US", + "content": "A list of numbers to find the maximum value from." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Find Maximum Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "Finds the maximum value in a numeric list." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "max;maximum;largest;greatest;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Maximum of ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "linkedDataTypeIdentifiers": [ + "LIST", + "NUMBER" + ], + "signature": "(list: LIST) => NUMBER" } diff --git a/definitions/standard/runtime_definition/array/std_array_min.proto.json b/definitions/standard/runtime_definition/array/std_array_min.proto.json index cd7f73e..3fb8269 100644 --- a/definitions/standard/runtime_definition/array/std_array_min.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_min.proto.json @@ -1,72 +1,55 @@ { - "runtimeName": "std::list::min", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Number List" - } - ], - "description": [ - { - "code": "en-US", - "content": "A list of numbers to find the minimum value from." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Find Minimum Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "Finds the minimum value in a numeric list." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "min;minimum;smallest;least;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Minimum of ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::min", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Number List" + } + ], + "description": [ + { + "code": "en-US", + "content": "A list of numbers to find the minimum value from." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Find Minimum Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "Finds the minimum value in a numeric list." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "min;minimum;smallest;least;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Minimum of ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "signature": "(list: LIST) => NUMBER", + "linkedDataTypeIdentifiers": [ + "LIST", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_pop.proto.json b/definitions/standard/runtime_definition/array/std_array_pop.proto.json index 4a4789f..c935ae4 100644 --- a/definitions/standard/runtime_definition/array/std_array_pop.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_pop.proto.json @@ -1,72 +1,54 @@ { - "runtimeName": "std::list::pop", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The list to remove the last item from." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericKey": "R" - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Pop from List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Removes the last element from the specified list and returns it. The list will be modified." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "pop;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Remove Last Item of ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::pop", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The list to remove the last item from." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Pop from List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Removes the last element from the specified list and returns it. The list will be modified." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "pop;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Remove Last Item of ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "signature": "(list: LIST) => T", + "linkedDataTypeIdentifiers": [ + "LIST" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_push.proto.json b/definitions/standard/runtime_definition/array/std_array_push.proto.json index 5a951e3..f2aacdc 100644 --- a/definitions/standard/runtime_definition/array/std_array_push.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_push.proto.json @@ -1,92 +1,72 @@ { - "runtimeName": "std::list::push", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "I" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The list to which an item will be added." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "genericKey": "I" - }, - "runtimeName": "item", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Item" - } - ], - "description": [ - { - "code": "en-US", - "content": "The value to be added at the end of the list." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [ - "I" - ], - "name": [ - { - "code": "en-US", - "content": "Push to List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Adds a new element to the end of the list and returns the new length of the list." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "push;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Push ${item} into ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::push", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The list to which an item will be added." + } + ], + "documentation": [] + }, + { + "runtimeName": "item", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Item" + } + ], + "description": [ + { + "code": "en-US", + "content": "The value to be added at the end of the list." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Push to List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Adds a new element to the end of the list and returns the new length of the list." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "push;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Push ${item} into ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "signature": "(list: LIST, item: T) => NUMBER", + "linkedDataTypeIdentifiers": [ + "LIST", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_remove.proto.json b/definitions/standard/runtime_definition/array/std_array_remove.proto.json index 342e705..dda954c 100644 --- a/definitions/standard/runtime_definition/array/std_array_remove.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_remove.proto.json @@ -1,105 +1,71 @@ { - "runtimeName": "std::list::remove", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The list from which the item will be removed." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "genericKey": "R" - }, - "runtimeName": "item", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Item" - } - ], - "description": [ - { - "code": "en-US", - "content": "The item to remove from the list." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Remove from List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Removes the first matching item from the given list and returns the resulting list." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "remove;delete;strip;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Remove ${item} from ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::remove", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The list from which the item will be removed." + } + ], + "documentation": [] + }, + { + "runtimeName": "item", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Item" + } + ], + "description": [ + { + "code": "en-US", + "content": "The item to remove from the list." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Remove from List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Removes the first matching item from the given list and returns the resulting list." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "remove;delete;strip;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Remove ${item} from ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "signature": "(list: LIST, item: T) => LIST", + "linkedDataTypeIdentifiers": [ + "LIST" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_reverse.proto.json b/definitions/standard/runtime_definition/array/std_array_reverse.proto.json index 45e197a..a213964 100644 --- a/definitions/standard/runtime_definition/array/std_array_reverse.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_reverse.proto.json @@ -2,22 +2,6 @@ "runtimeName": "std::list::reverse", "runtimeParameterDefinitions": [ { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, "runtimeName": "list", "defaultValue": null, "name": [ @@ -35,26 +19,7 @@ "documentation": [] } ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, "throwsError": false, - "genericKeys": [ - "R" - ], "name": [ { "code": "en-US", @@ -81,5 +46,9 @@ } ], "deprecationMessage": [], - "displayIcon": "tabler:list" + "displayIcon": "tabler:list", + "signature": "(list: LIST) => LIST", + "linkedDataTypeIdentifiers": [ + "LIST" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_size.proto.json b/definitions/standard/runtime_definition/array/std_array_size.proto.json index 7619819..77e5a25 100644 --- a/definitions/standard/runtime_definition/array/std_array_size.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_size.proto.json @@ -1,72 +1,55 @@ { - "runtimeName": "std::list::size", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The list whose number of elements is to be returned." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "List Size" - } - ], - "description": [ - { - "code": "en-US", - "content": "This function returns the count of elements present in the given list." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "size;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Size of ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::size", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The list whose number of elements is to be returned." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "List Size" + } + ], + "description": [ + { + "code": "en-US", + "content": "This function returns the count of elements present in the given list." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "size;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Size of ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "signature": "(list: LIST) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER", + "LIST" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_sort.proto.json b/definitions/standard/runtime_definition/array/std_array_sort.proto.json index a3583f2..32986c1 100644 --- a/definitions/standard/runtime_definition/array/std_array_sort.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_sort.proto.json @@ -1,118 +1,71 @@ { - "runtimeName": "std::list::sort", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input list to be sorted." - } - ], - "documentation": [] - }, - { - "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 function that takes two elements and returns a negative, zero, or positive number to indicate their ordering." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Sort List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a new list with the elements sorted according to the comparator function provided." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "sort;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Sort ${list} using ${comparator}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:arrow-iteration" + "runtimeName": "std::list::sort", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input list to be sorted." + } + ], + "documentation": [] + }, + { + "runtimeName": "comparator", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Comparator" + } + ], + "description": [ + { + "code": "en-US", + "content": "A function that takes two elements and returns a negative, zero, or positive number to indicate their ordering." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Sort List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a new list with the elements sorted according to the comparator function provided." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "sort;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Sort ${list} using ${comparator}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:arrow-iteration", + "signature": "(list: LIST, comparator: COMPARATOR) => LIST", + "linkedDataTypeIdentifiers": [ + "LIST" + ] } diff --git a/definitions/standard/runtime_definition/array/std_array_sort_reverse.proto.json b/definitions/standard/runtime_definition/array/std_array_sort_reverse.proto.json index 487cb81..bdf7eff 100644 --- a/definitions/standard/runtime_definition/array/std_array_sort_reverse.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_sort_reverse.proto.json @@ -1,118 +1,71 @@ { - "runtimeName": "std::list::sort_reverse", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input list to be sorted in reverse order." - } - ], - "documentation": [] - }, - { - "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 function that takes two elements and returns a negative, zero, or positive number to indicate their ordering." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Sort List in Reverse" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a new list with the elements sorted in descending order according to the comparator function provided." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "sort_reverse;array;list;collection;std;sort;reverse" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Reversed-Sort ${list} using ${comparator}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:arrow-iteration" + "runtimeName": "std::list::sort_reverse", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input list to be sorted in reverse order." + } + ], + "documentation": [] + }, + { + "runtimeName": "comparator", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Comparator" + } + ], + "description": [ + { + "code": "en-US", + "content": "A function that takes two elements and returns a negative, zero, or positive number to indicate their ordering." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Sort List in Reverse" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a new list with the elements sorted in descending order according to the comparator function provided." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "sort_reverse;array;list;collection;std;sort;reverse" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Reversed-Sort ${list} using ${comparator}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:arrow-iteration", + "linkedDataTypeIdentifiers": [ + "LIST" + ], + "signature": "(list: LIST, comparator: COMPARATOR) => LIST" } diff --git a/definitions/standard/runtime_definition/array/std_array_sum.proto.json b/definitions/standard/runtime_definition/array/std_array_sum.proto.json index 9d9eda9..f8a5e6f 100644 --- a/definitions/standard/runtime_definition/array/std_array_sum.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_sum.proto.json @@ -1,69 +1,54 @@ { - "runtimeName": "std::list::sum", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "dataTypeIdentifier": "NUMBER" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "name": [ - { - "code": "en-US", - "content": "Number List" - } - ], - "description": [ - { - "code": "en-US", - "content": "Calculates the sum of all numbers in the given list." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Sum of Numbers" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns the total sum of the elements in the numeric list." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "sum;total;add all;array;list;collection;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Sum of ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::sum", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "name": [ + { + "code": "en-US", + "content": "Number List" + } + ], + "description": [ + { + "code": "en-US", + "content": "Calculates the sum of all numbers in the given list." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Sum of Numbers" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns the total sum of the elements in the numeric list." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "sum;total;add all;array;list;collection;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Sum of ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "linkedDataTypeIdentifiers": [ + "LIST", + "NUMBER" + ], + "signature": "(list: LIST) => NUMBER" } 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 index 0db9013..9baca22 100644 --- a/definitions/standard/runtime_definition/array/std_array_to_unique.proto.json +++ b/definitions/standard/runtime_definition/array/std_array_to_unique.proto.json @@ -1,85 +1,54 @@ { - "runtimeName": "std::list::to_unique", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "list", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "List" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input list from which duplicates will be removed." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "genericKey": "R" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "To Unique" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a new list containing only the unique elements from the input list." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "to_unique;array;list;collection;std;to;unique" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Remove duplicates in ${list}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:list" + "runtimeName": "std::list::to_unique", + "runtimeParameterDefinitions": [ + { + "runtimeName": "list", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "List" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input list from which duplicates will be removed." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "To Unique" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a new list containing only the unique elements from the input list." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "to_unique;array;list;collection;std;to;unique" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Remove duplicates in ${list}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:list", + "signature": "(list: LIST) => LIST", + "linkedDataTypeIdentifiers": [ + "LIST" + ] } diff --git a/definitions/standard/runtime_definition/boolean/std_boolean_as_number.proto.json b/definitions/standard/runtime_definition/boolean/std_boolean_as_number.proto.json index 1943370..ef79b4a 100644 --- a/definitions/standard/runtime_definition/boolean/std_boolean_as_number.proto.json +++ b/definitions/standard/runtime_definition/boolean/std_boolean_as_number.proto.json @@ -1,57 +1,55 @@ { - "runtimeName": "std::boolean::as_number", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Converts a boolean to a number." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Boolean as Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "Will convert the boolean to a number." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "to number;numeric;boolean;logic;std;as;number" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Convert ${value} to number" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:toggle-left" + "runtimeName": "std::boolean::as_number", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Converts a boolean to a number." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Boolean as Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "Will convert the boolean to a number." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "to number;numeric;boolean;logic;std;as;number" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Convert ${value} to number" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:toggle-left", + "signature": "(value: BOOLEAN) => NUMBER", + "linkedDataTypeIdentifiers": [ + "BOOLEAN", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/boolean/std_boolean_as_text.proto.json b/definitions/standard/runtime_definition/boolean/std_boolean_as_text.proto.json index f815b93..480658b 100644 --- a/definitions/standard/runtime_definition/boolean/std_boolean_as_text.proto.json +++ b/definitions/standard/runtime_definition/boolean/std_boolean_as_text.proto.json @@ -1,57 +1,55 @@ { - "runtimeName": "std::boolean::as_text", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Converts a boolean to a text." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Boolean as Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Will convert the boolean to text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "to text;string;format number;boolean;logic;std;as;text" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Convert ${value} to text" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:toggle-left" + "runtimeName": "std::boolean::as_text", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Converts a boolean to a text." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Boolean as Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Will convert the boolean to text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "to text;string;format number;boolean;logic;std;as;text" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Convert ${value} to text" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:toggle-left", + "signature": "(value: BOOLEAN) => TEXT", + "linkedDataTypeIdentifiers": [ + "BOOLEAN", + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/boolean/std_boolean_from_number.proto.json b/definitions/standard/runtime_definition/boolean/std_boolean_from_number.proto.json index 951a5b7..7dd3b62 100644 --- a/definitions/standard/runtime_definition/boolean/std_boolean_from_number.proto.json +++ b/definitions/standard/runtime_definition/boolean/std_boolean_from_number.proto.json @@ -1,57 +1,55 @@ { - "runtimeName": "std::boolean::from_number", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Converts a number to a boolean." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Boolean from Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "Will convert the number to a boolean." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "from number;to boolean;convert;boolean;logic;std;from;number" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Convert ${value} to boolean" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:toggle-left" + "runtimeName": "std::boolean::from_number", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Converts a number to a boolean." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Boolean from Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "Will convert the number to a boolean." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "from number;to boolean;convert;boolean;logic;std;from;number" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Convert ${value} to boolean" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:toggle-left", + "signature": "(value: NUMBER) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "BOOLEAN", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/boolean/std_boolean_from_text.proto.json b/definitions/standard/runtime_definition/boolean/std_boolean_from_text.proto.json index 8416fb1..43406e9 100644 --- a/definitions/standard/runtime_definition/boolean/std_boolean_from_text.proto.json +++ b/definitions/standard/runtime_definition/boolean/std_boolean_from_text.proto.json @@ -1,57 +1,55 @@ { - "runtimeName": "std::boolean::from_text", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Converts a text to a boolean." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Boolean from Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Will convert the string to a boolean." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "from text;parse;convert;boolean;logic;std;from;text" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Convert ${value} to boolean" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:toggle-left" + "runtimeName": "std::boolean::from_text", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Converts a text to a boolean." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Boolean from Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Will convert the string to a boolean." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "from text;parse;convert;boolean;logic;std;from;text" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Convert ${value} to boolean" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:toggle-left", + "signature": "(value: TEXT) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "TEXT", + "BOOLEAN" + ] } diff --git a/definitions/standard/runtime_definition/boolean/std_boolean_is_equal.proto.json b/definitions/standard/runtime_definition/boolean/std_boolean_is_equal.proto.json index c45c047..e47bb2a 100644 --- a/definitions/standard/runtime_definition/boolean/std_boolean_is_equal.proto.json +++ b/definitions/standard/runtime_definition/boolean/std_boolean_is_equal.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::boolean::is_equal", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "runtimeName": "first", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "First" - } - ], - "description": [ - { - "code": "en-US", - "content": "The first boolean value to compare." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "runtimeName": "second", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Second" - } - ], - "description": [ - { - "code": "en-US", - "content": "The second boolean value to compare." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Is Equal" - } - ], - "description": [ - { - "code": "en-US", - "content": "Compares two boolean values for equality. Returns true if they are the same, false otherwise." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "equal;equals;same;boolean;logic;std;is" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${first} Equals ${second}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:toggle-left" + "runtimeName": "std::boolean::is_equal", + "runtimeParameterDefinitions": [ + { + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "First" + } + ], + "description": [ + { + "code": "en-US", + "content": "The first boolean value to compare." + } + ], + "documentation": [] + }, + { + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Second" + } + ], + "description": [ + { + "code": "en-US", + "content": "The second boolean value to compare." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Is Equal" + } + ], + "description": [ + { + "code": "en-US", + "content": "Compares two boolean values for equality. Returns true if they are the same, false otherwise." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "equal;equals;same;boolean;logic;std;is" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${first} Equals ${second}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:toggle-left", + "signature": "(first: BOOLEAN, second: BOOLEAN) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "BOOLEAN" + ] } diff --git a/definitions/standard/runtime_definition/boolean/std_boolean_negate.proto.json b/definitions/standard/runtime_definition/boolean/std_boolean_negate.proto.json index 01435b5..8de30bd 100644 --- a/definitions/standard/runtime_definition/boolean/std_boolean_negate.proto.json +++ b/definitions/standard/runtime_definition/boolean/std_boolean_negate.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::boolean::negate", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The boolean value to negate." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Negate Boolean" - } - ], - "description": [ - { - "code": "en-US", - "content": "Negates a boolean value." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "negate;negative;invert;opposite;boolean;logic;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Negate ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:toggle-left" + "runtimeName": "std::boolean::negate", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The boolean value to negate." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Negate Boolean" + } + ], + "description": [ + { + "code": "en-US", + "content": "Negates a boolean value." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "negate;negative;invert;opposite;boolean;logic;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Negate ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:toggle-left", + "signature": "(value: BOOLEAN) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "BOOLEAN" + ] } diff --git a/definitions/standard/runtime_definition/control/std_control_if.proto.json b/definitions/standard/runtime_definition/control/std_control_if.proto.json index ad77546..93c7301 100644 --- a/definitions/standard/runtime_definition/control/std_control_if.proto.json +++ b/definitions/standard/runtime_definition/control/std_control_if.proto.json @@ -1,75 +1,72 @@ { - "runtimeName": "std::control::if", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "runtimeName": "condition", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Condition" - } - ], - "description": [ - { - "code": "en-US", - "content": "Specifies the condition that determines whether the provided runnable should be executed. If this condition evaluates to true, the execution proceeds with the runnable defined in the second parameter." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "RUNNABLE" - }, - "runtimeName": "runnable", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Runnable" - } - ], - "description": [ - { - "code": "en-US", - "content": "Defines the runnable that runs if the condition evaluates to true." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": null, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "If" - } - ], - "description": [ - { - "code": "en-US", - "content": "The 'If' runnable evaluates a boolean condition and, if it is true, executes the provided runnable. If the condition is false, execution continues without running the runnable." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "if;control;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "If ${condition} is True do ${runnable}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:arrow-ramp-right-2" + "runtimeName": "std::control::if", + "runtimeParameterDefinitions": [ + { + "runtimeName": "condition", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Condition" + } + ], + "description": [ + { + "code": "en-US", + "content": "Specifies the condition that determines whether the provided runnable should be executed. If this condition evaluates to true, the execution proceeds with the runnable defined in the second parameter." + } + ], + "documentation": [] + }, + { + "runtimeName": "runnable", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Runnable" + } + ], + "description": [ + { + "code": "en-US", + "content": "Defines the runnable that runs if the condition evaluates to true." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "If" + } + ], + "description": [ + { + "code": "en-US", + "content": "The 'If' runnable evaluates a boolean condition and, if it is true, executes the provided runnable. If the condition is false, execution continues without running the runnable." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "if;control;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "If ${condition} is True do ${runnable}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:arrow-ramp-right-2", + "signature": "(condition: BOOLEAN, runnable: RUNNABLE) => void", + "linkedDataTypeIdentifiers": [ + "BOOLEAN", + "RUNNABLE" + ] } diff --git a/definitions/standard/runtime_definition/control/std_control_if_else.proto.json b/definitions/standard/runtime_definition/control/std_control_if_else.proto.json index 8849c65..15e55d5 100644 --- a/definitions/standard/runtime_definition/control/std_control_if_else.proto.json +++ b/definitions/standard/runtime_definition/control/std_control_if_else.proto.json @@ -1,100 +1,94 @@ { - "runtimeName": "std::control::if_else", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "runtimeName": "condition", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Condition" - } - ], - "description": [ - { - "code": "en-US", - "content": "Boolean that determines which branch to execute. If true the Runnable runs otherwise the Else Runnable runs." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "RUNNABLE" - }, - "runtimeName": "runnable", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Runnable" - } - ], - "description": [ - { - "code": "en-US", - "content": "Defines the runnable that runs if the condition evaluates to true." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "RUNNABLE" - }, - "runtimeName": "else_runnable", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Else Runnable" - } - ], - "description": [ - { - "code": "en-US", - "content": "Defines the runnable that runs if the condition evaluates to false." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": null, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "If-Else" - } - ], - "description": [ - { - "code": "en-US", - "content": "Evaluates a condition and executes either the Then Runnable or the Else Runnable." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "Evaluates a boolean condition. If true, executes the Runnable. Otherwise executes the Else Runnable." - } - ], - "alias": [ - { - "code": "en-US", - "content": "if_else;control;std;if;else" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "If ${condition} is True do ${then_runnable} else ${else_runnable}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:arrow-ramp-right" + "runtimeName": "std::control::if_else", + "runtimeParameterDefinitions": [ + { + "runtimeName": "condition", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Condition" + } + ], + "description": [ + { + "code": "en-US", + "content": "Boolean that determines which branch to execute. If true the Runnable runs otherwise the Else Runnable runs." + } + ], + "documentation": [] + }, + { + "runtimeName": "runnable", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Runnable" + } + ], + "description": [ + { + "code": "en-US", + "content": "Defines the runnable that runs if the condition evaluates to true." + } + ], + "documentation": [] + }, + { + "runtimeName": "else_runnable", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Else Runnable" + } + ], + "description": [ + { + "code": "en-US", + "content": "Defines the runnable that runs if the condition evaluates to false." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "If-Else" + } + ], + "description": [ + { + "code": "en-US", + "content": "Evaluates a condition and executes either the Then Runnable or the Else Runnable." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "Evaluates a boolean condition. If true, executes the Runnable. Otherwise executes the Else Runnable." + } + ], + "alias": [ + { + "code": "en-US", + "content": "if_else;control;std;if;else" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "If ${condition} is True do ${then_runnable} else ${else_runnable}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:arrow-ramp-right", + "signature": "(condition: BOOLEAN, runnable: RUNNABLE, else_runnable: RUNNABLE) => void", + "linkedDataTypeIdentifiers": [ + "BOOLEAN", + "RUNNABLE" + ] } diff --git a/definitions/standard/runtime_definition/control/std_control_return.proto.json b/definitions/standard/runtime_definition/control/std_control_return.proto.json index c926594..2498a4a 100644 --- a/definitions/standard/runtime_definition/control/std_control_return.proto.json +++ b/definitions/standard/runtime_definition/control/std_control_return.proto.json @@ -1,59 +1,51 @@ { - "runtimeName": "std::control::return", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericKey": "R" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Return Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The value to be returned to the upper context." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericKey": "R" - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Return" - } - ], - "description": [ - { - "code": "en-US", - "content": "Ends the current context and returns the specified value to the upper scope." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "return;control;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Return ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:arrow-back" + "runtimeName": "std::control::return", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Return Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The value to be returned to the upper context." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Return" + } + ], + "description": [ + { + "code": "en-US", + "content": "Ends the current context and returns the specified value to the upper scope." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "return;control;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Return ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:arrow-back", + "signature": "(value: T) => T" } diff --git a/definitions/standard/runtime_definition/control/std_control_stop.proto.json b/definitions/standard/runtime_definition/control/std_control_stop.proto.json index c18b6a6..424ccbc 100644 --- a/definitions/standard/runtime_definition/control/std_control_stop.proto.json +++ b/definitions/standard/runtime_definition/control/std_control_stop.proto.json @@ -1,9 +1,7 @@ { "runtimeName": "std::control::stop", "runtimeParameterDefinitions": [], - "returnTypeIdentifier": null, "throwsError": false, - "genericKeys": [], "name": [ { "code": "en-US", @@ -30,5 +28,7 @@ } ], "deprecationMessage": [], - "displayIcon": "tabler:xbox-x" + "displayIcon": "tabler:xbox-x", + "signature": "() => void", + "linkedDataTypeIdentifiers": [] } diff --git a/definitions/standard/runtime_definition/control/std_control_value.proto.json b/definitions/standard/runtime_definition/control/std_control_value.proto.json index 2426f7e..74c1044 100644 --- a/definitions/standard/runtime_definition/control/std_control_value.proto.json +++ b/definitions/standard/runtime_definition/control/std_control_value.proto.json @@ -1,59 +1,51 @@ { - "runtimeName": "std::control::value", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericKey": "R" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The value to save." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericKey": "R" - }, - "throwsError": false, - "genericKeys": [ - "R" - ], - "name": [ - { - "code": "en-US", - "content": "Set Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Saves the given value." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "value;save;create;control;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Save ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:new-section" + "runtimeName": "std::control::value", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The value to save." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Set Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Saves the given value." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "value;save;create;control;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Save ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:new-section", + "signature": "(value: T) => T" } diff --git a/definitions/standard/runtime_definition/http/http_request_create.proto.json b/definitions/standard/runtime_definition/http/http_request_create.proto.json index 0fba47d..f924c6a 100644 --- a/definitions/standard/runtime_definition/http/http_request_create.proto.json +++ b/definitions/standard/runtime_definition/http/http_request_create.proto.json @@ -1,119 +1,108 @@ { - "runtimeName": "http::request::create", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "HTTP_METHOD" - }, - "runtimeName": "http_method", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "HTTP Method" - } - ], - "description": [ - { - "code": "en-US", - "content": "Defines the HTTP method to be used, such as GET, POST, PUT, or DELETE." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "HTTP_HEADER_MAP" - }, - "runtimeName": "headers", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "HTTP Headers" - } - ], - "description": [ - { - "code": "en-US", - "content": "A collection of key-value pairs containing additional request metadata." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "HTTP_URL" - }, - "runtimeName": "url", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Request URL" - } - ], - "description": [ - { - "code": "en-US", - "content": "Specifies the endpoint address, including protocol, host, path, and query parameters, where the request is directed." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "genericKey": "P" - }, - "runtimeName": "payload", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Request Body" - } - ], - "description": [ - { - "code": "en-US", - "content": "Contains the request payload, such as JSON, XML, form data, or binary content, depending on the Content-Type header." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "HTTP_REQUEST" - }, - "throwsError": false, - "genericKeys": [ - "P" - ], - "name": [ - { - "code": "en-US", - "content": "Create HTTP-Request" - } - ], - "description": [ - { - "code": "en-US", - "content": "Creates an HTTP-Request object with the specified method, headers, url and payload." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "create;request;http" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Create Http-Request with Method: ${http_method}, Headers: ${headers}, Url: ${url} and Payload: ${payload}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:world-www" + "runtimeName": "http::request::create", + "runtimeParameterDefinitions": [ + { + "runtimeName": "http_method", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "HTTP Method" + } + ], + "description": [ + { + "code": "en-US", + "content": "Defines the HTTP method to be used, such as GET, POST, PUT, or DELETE." + } + ], + "documentation": [] + }, + { + "runtimeName": "headers", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "HTTP Headers" + } + ], + "description": [ + { + "code": "en-US", + "content": "A collection of key-value pairs containing additional request metadata." + } + ], + "documentation": [] + }, + { + "runtimeName": "url", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Request URL" + } + ], + "description": [ + { + "code": "en-US", + "content": "Specifies the endpoint address, including protocol, host, path, and query parameters, where the request is directed." + } + ], + "documentation": [] + }, + { + "runtimeName": "payload", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Request Body" + } + ], + "description": [ + { + "code": "en-US", + "content": "Contains the request payload, such as JSON, XML, form data, or binary content, depending on the Content-Type header." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Create HTTP-Request" + } + ], + "description": [ + { + "code": "en-US", + "content": "Creates an HTTP-Request object with the specified method, headers, url and payload." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "create;request;http" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Create Http-Request with Method: ${http_method}, Headers: ${headers}, Url: ${url} and Payload: ${payload}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:world-www", + "signature": "(http_method: HTTP_METHOD, headers: HTTP_HEADER_MAP, url: HTTP_URL, payload: T) => HTTP_REQUEST", + "linkedDataTypeIdentifiers": [ + "HTTP_URL", + "HTTP_METHOD", + "HTTP_HEADER_MAP", + "HTTP_REQUEST" + ] } diff --git a/definitions/standard/runtime_definition/http/http_response_create.proto.json b/definitions/standard/runtime_definition/http/http_response_create.proto.json index 2f78913..c08537f 100644 --- a/definitions/standard/runtime_definition/http/http_response_create.proto.json +++ b/definitions/standard/runtime_definition/http/http_response_create.proto.json @@ -1,99 +1,90 @@ { - "runtimeName": "http::response::create", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "HTTP_STATUS_CODE" - }, - "runtimeName": "http_status_code", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "HTTP Status Code" - } - ], - "description": [ - { - "code": "en-US", - "content": "An HTTP status code is a three-digit number (100–599) indicating the result of a request (e.g., 200, 404, 500)." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "HTTP_HEADER_MAP" - }, - "runtimeName": "headers", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "HTTP Headers" - } - ], - "description": [ - { - "code": "en-US", - "content": "A collection of key-value pairs containing additional response metadata." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "genericKey": "P" - }, - "runtimeName": "payload", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Request Body" - } - ], - "description": [ - { - "code": "en-US", - "content": "Contains the response payload, such as JSON, XML, form data, or binary content, depending on the Content-Type header." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "HTTP_RESPONSE" - }, - "throwsError": false, - "genericKeys": [ - "P" - ], - "name": [ - { - "code": "en-US", - "content": "Create HTTP-Response" - } - ], - "description": [ - { - "code": "en-US", - "content": "Creates an HTTP-Response object with the specified method, headers and payload." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "create;response;http" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Create Http-Response with Method: ${http_method}, Headers: ${headers} and Payload: ${payload}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:world-www" + "runtimeName": "http::response::create", + "runtimeParameterDefinitions": [ + { + "runtimeName": "http_status_code", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "HTTP Status Code" + } + ], + "description": [ + { + "code": "en-US", + "content": "An HTTP status code is a three-digit number (100–599) indicating the result of a request (e.g., 200, 404, 500)." + } + ], + "documentation": [] + }, + { + "runtimeName": "headers", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "HTTP Headers" + } + ], + "description": [ + { + "code": "en-US", + "content": "A collection of key-value pairs containing additional response metadata." + } + ], + "documentation": [] + }, + { + "runtimeName": "payload", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Request Body" + } + ], + "description": [ + { + "code": "en-US", + "content": "Contains the response payload, such as JSON, XML, form data, or binary content, depending on the Content-Type header." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Create HTTP-Response" + } + ], + "description": [ + { + "code": "en-US", + "content": "Creates an HTTP-Response object with the specified method, headers and payload." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "create;response;http" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Create Http-Response with Method: ${http_method}, Headers: ${headers} and Payload: ${payload}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:world-www", + "signature": "(http_status_code: HTTP_STATUS_CODE, headers: HTTP_HEADER_MAP, payload: T) => HTTP_RESPONSE", + "linkedDataTypeIdentifiers": [ + "HTTP_STATUS_CODE", + "HTTP_HEADER_MAP", + "HTTP_RESPONSE" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_abs.proto.json b/definitions/standard/runtime_definition/number/std_number_abs.proto.json index c56f2f1..25ff692 100644 --- a/definitions/standard/runtime_definition/number/std_number_abs.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_abs.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::number::abs", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Number Input" - } - ], - "description": [ - { - "code": "en-US", - "content": "This is the numeric input. The result will be its absolute (non-negative) value." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Absolute Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Removes the sign from the input number, returning its non-negative value." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "absolute;abs;magnitude;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Absolute Value of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::abs", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Number Input" + } + ], + "description": [ + { + "code": "en-US", + "content": "This is the numeric input. The result will be its absolute (non-negative) value." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Absolute Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Removes the sign from the input number, returning its non-negative value." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "absolute;abs;magnitude;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Absolute Value of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_add.proto.json b/definitions/standard/runtime_definition/number/std_number_add.proto.json index 9410ea2..155943c 100644 --- a/definitions/standard/runtime_definition/number/std_number_add.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_add.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::number::add", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "first", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "First Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "The first number to add." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "second", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Second Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "The second number to add." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Add Numbers" - } - ], - "description": [ - { - "code": "en-US", - "content": "Adds two numbers together." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "add;plus;sum;total;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${first} Plus ${second}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::add", + "runtimeParameterDefinitions": [ + { + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "First Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "The first number to add." + } + ], + "documentation": [] + }, + { + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Second Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "The second number to add." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Add Numbers" + } + ], + "description": [ + { + "code": "en-US", + "content": "Adds two numbers together." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "add;plus;sum;total;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${first} Plus ${second}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(first: NUMBER, second: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_arccos.proto.json b/definitions/standard/runtime_definition/number/std_number_arccos.proto.json index dce4a01..db811f3 100644 --- a/definitions/standard/runtime_definition/number/std_number_arccos.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_arccos.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::number::arccos", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "Calculates the arccosine (inverse cosine) of the input value." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Arccosine" - } - ], - "description": [ - { - "code": "en-US", - "content": "Computes the angle in radians whose cosine is the given number." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "arccos;acos;inverse cosine;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Arccosine of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::arccos", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "Calculates the arccosine (inverse cosine) of the input value." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Arccosine" + } + ], + "description": [ + { + "code": "en-US", + "content": "Computes the angle in radians whose cosine is the given number." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "arccos;acos;inverse cosine;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Arccosine of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_arcsin.proto.json b/definitions/standard/runtime_definition/number/std_number_arcsin.proto.json index c328030..7bdf497 100644 --- a/definitions/standard/runtime_definition/number/std_number_arcsin.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_arcsin.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::number::arcsin", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Calculates the arcsine (inverse sine) of the input value." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Arcsine" - } - ], - "description": [ - { - "code": "en-US", - "content": "Computes the angle in radians whose sine is the given number." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "arcsin;asin;inverse sine;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Arcsine of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::arcsin", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Calculates the arcsine (inverse sine) of the input value." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Arcsine" + } + ], + "description": [ + { + "code": "en-US", + "content": "Computes the angle in radians whose sine is the given number." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "arcsin;asin;inverse sine;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Arcsine of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_arctan.proto.json b/definitions/standard/runtime_definition/number/std_number_arctan.proto.json index c1de4e0..e97d44f 100644 --- a/definitions/standard/runtime_definition/number/std_number_arctan.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_arctan.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::number::arctan", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Calculates the arctangent (inverse tangent) of the input value." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Arctangent" - } - ], - "description": [ - { - "code": "en-US", - "content": "Computes the angle in radians whose tangent is the given number." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "arctan;atan;inverse tangent;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Arctangent of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::arctan", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Calculates the arctangent (inverse tangent) of the input value." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Arctangent" + } + ], + "description": [ + { + "code": "en-US", + "content": "Computes the angle in radians whose tangent is the given number." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "arctan;atan;inverse tangent;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Arctangent of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_as_text.proto.json b/definitions/standard/runtime_definition/number/std_number_as_text.proto.json index 4ade53a..b9b43d1 100644 --- a/definitions/standard/runtime_definition/number/std_number_as_text.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_as_text.proto.json @@ -1,57 +1,55 @@ { - "runtimeName": "std::number::as_text", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "number", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "The number to convert to text." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Number as Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Converts a number into text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "to text;string;format number;number;math;std;as;text" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Convert ${number} to Text" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::as_text", + "runtimeParameterDefinitions": [ + { + "runtimeName": "number", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "The number to convert to text." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Number as Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Converts a number into text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "to text;string;format number;number;math;std;as;text" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Convert ${number} to Text" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(number: NUMBER) => TEXT", + "linkedDataTypeIdentifiers": [ + "NUMBER", + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_clamp.proto.json b/definitions/standard/runtime_definition/number/std_number_clamp.proto.json index 8ae0c16..558bb81 100644 --- a/definitions/standard/runtime_definition/number/std_number_clamp.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_clamp.proto.json @@ -1,97 +1,88 @@ { - "runtimeName": "std::number::clamp", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Number Input" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input number that will be limited (clamped) to the specified range." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "min", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Minimum" - } - ], - "description": [ - { - "code": "en-US", - "content": "The minimum allowed value in the clamping operation." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "max", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Maximum" - } - ], - "description": [ - { - "code": "en-US", - "content": "The maximum allowed value in the clamping operation." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Clamp Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns the given number clamped between the minimum and maximum bounds." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "clamp;limit;bound;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Clamp ${value} between ${min} and ${max}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::clamp", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Number Input" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input number that will be limited (clamped) to the specified range." + } + ], + "documentation": [] + }, + { + "runtimeName": "min", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Minimum" + } + ], + "description": [ + { + "code": "en-US", + "content": "The minimum allowed value in the clamping operation." + } + ], + "documentation": [] + }, + { + "runtimeName": "max", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Maximum" + } + ], + "description": [ + { + "code": "en-US", + "content": "The maximum allowed value in the clamping operation." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Clamp Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns the given number clamped between the minimum and maximum bounds." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "clamp;limit;bound;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Clamp ${value} between ${min} and ${max}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER, min: NUMBER, max: NUMBER) => MNUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_cos.proto.json b/definitions/standard/runtime_definition/number/std_number_cos.proto.json index b757a89..644a7be 100644 --- a/definitions/standard/runtime_definition/number/std_number_cos.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_cos.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::number::cos", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "radians", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Radians" - } - ], - "description": [ - { - "code": "en-US", - "content": "Computes the cosine of the given angle in radians." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Cosine" - } - ], - "description": [ - { - "code": "en-US", - "content": "Calculates the cosine value of the input angle measured in radians." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "cos;cosine;trigonometry;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Cosine of ${radians}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::cos", + "runtimeParameterDefinitions": [ + { + "runtimeName": "radians", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Radians" + } + ], + "description": [ + { + "code": "en-US", + "content": "Computes the cosine of the given angle in radians." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Cosine" + } + ], + "description": [ + { + "code": "en-US", + "content": "Calculates the cosine value of the input angle measured in radians." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "cos;cosine;trigonometry;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Cosine of ${radians}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(radians: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_cosh.proto.json b/definitions/standard/runtime_definition/number/std_number_cosh.proto.json index 38c881d..3dee9fe 100644 --- a/definitions/standard/runtime_definition/number/std_number_cosh.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_cosh.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::number::cosh", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Number Input" - } - ], - "description": [ - { - "code": "en-US", - "content": "The number for which to calculate the hyperbolic cosine." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Hyperbolic Cosine" - } - ], - "description": [ - { - "code": "en-US", - "content": "Calculates the hyperbolic cosine (cosh) of the input value." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "cosh;hyperbolic cosine;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Hyperbolic Cosine of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::cosh", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Number Input" + } + ], + "description": [ + { + "code": "en-US", + "content": "The number for which to calculate the hyperbolic cosine." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Hyperbolic Cosine" + } + ], + "description": [ + { + "code": "en-US", + "content": "Calculates the hyperbolic cosine (cosh) of the input value." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "cosh;hyperbolic cosine;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Hyperbolic Cosine of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_divide.proto.json b/definitions/standard/runtime_definition/number/std_number_divide.proto.json index 3d6ec74..ed3ae7b 100644 --- a/definitions/standard/runtime_definition/number/std_number_divide.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_divide.proto.json @@ -1,77 +1,69 @@ { - "runtimeName": "std::number::divide", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "first", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Dividend" - } - ], - "description": [ - { - "code": "en-US", - "content": "This is the numerator or the number that will be divided by the second value." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "second", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Divisor" - } - ], - "description": [ - { - "code": "en-US", - "content": "This is the denominator or the value that divides the first number." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": true, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Divide Numbers" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns the result of dividing the first numeric input (dividend) by the second (divisor)." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "divide;division;quotient;div;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${first} Divided by ${second}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::divide", + "runtimeParameterDefinitions": [ + { + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Dividend" + } + ], + "description": [ + { + "code": "en-US", + "content": "This is the numerator or the number that will be divided by the second value." + } + ], + "documentation": [] + }, + { + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Divisor" + } + ], + "description": [ + { + "code": "en-US", + "content": "This is the denominator or the value that divides the first number." + } + ], + "documentation": [] + } + ], + "throwsError": true, + "name": [ + { + "code": "en-US", + "content": "Divide Numbers" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns the result of dividing the first numeric input (dividend) by the second (divisor)." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "divide;division;quotient;div;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${first} Divided by ${second}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(first: NUMBER, second: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [] } diff --git a/definitions/standard/runtime_definition/number/std_number_euler.proto.json b/definitions/standard/runtime_definition/number/std_number_euler.proto.json index 26e25d1..f1cde7d 100644 --- a/definitions/standard/runtime_definition/number/std_number_euler.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_euler.proto.json @@ -1,36 +1,36 @@ { - "runtimeName": "std::number::euler", - "runtimeParameterDefinitions": [], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Euler's Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "Provides the constant value of Euler's number, approximately 2.71828, which is the base of the natural logarithm." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "euler;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Euler's Number" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::euler", + "runtimeParameterDefinitions": [], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Euler's Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "Provides the constant value of Euler's number, approximately 2.71828, which is the base of the natural logarithm." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "euler;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Euler's Number" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "() => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_exponential.proto.json b/definitions/standard/runtime_definition/number/std_number_exponential.proto.json index 3869fce..19b7a97 100644 --- a/definitions/standard/runtime_definition/number/std_number_exponential.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_exponential.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::number::exponential", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "base", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Base" - } - ], - "description": [ - { - "code": "en-US", - "content": "This is the numeric value that will be raised to the power of the exponent." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "exponent", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Exponent" - } - ], - "description": [ - { - "code": "en-US", - "content": "This numeric value indicates the power to which the base is raised." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Exponential" - } - ], - "description": [ - { - "code": "en-US", - "content": "Computes the result of raising the base to the power specified by the exponent." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "exponential;exp;e power;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${base} to the Exponent of ${exponent}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::exponential", + "runtimeParameterDefinitions": [ + { + "runtimeName": "base", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Base" + } + ], + "description": [ + { + "code": "en-US", + "content": "This is the numeric value that will be raised to the power of the exponent." + } + ], + "documentation": [] + }, + { + "runtimeName": "exponent", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Exponent" + } + ], + "description": [ + { + "code": "en-US", + "content": "This numeric value indicates the power to which the base is raised." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Exponential" + } + ], + "description": [ + { + "code": "en-US", + "content": "Computes the result of raising the base to the power specified by the exponent." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "exponential;exp;e power;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${base} to the Exponent of ${exponent}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(base: NUMBER, exponent: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_from_text.proto.json b/definitions/standard/runtime_definition/number/std_number_from_text.proto.json index 66328f8..68327aa 100644 --- a/definitions/standard/runtime_definition/number/std_number_from_text.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_from_text.proto.json @@ -2,9 +2,6 @@ "runtimeName": "std::number::from_text", "runtimeParameterDefinitions": [ { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, "runtimeName": "text", "defaultValue": null, "name": [ @@ -22,11 +19,7 @@ "documentation": [] } ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, "throwsError": false, - "genericKeys": [], "name": [ { "code": "en-US", @@ -53,5 +46,10 @@ } ], "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "displayIcon": "tabler:math-function", + "signature": "(text: TEXT) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER", + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_infinity.proto.json b/definitions/standard/runtime_definition/number/std_number_infinity.proto.json index e3c749a..a55432a 100644 --- a/definitions/standard/runtime_definition/number/std_number_infinity.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_infinity.proto.json @@ -1,36 +1,36 @@ { - "runtimeName": "std::number::infinity", - "runtimeParameterDefinitions": [], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Infinity" - } - ], - "description": [ - { - "code": "en-US", - "content": "Provides the representation of positive infinity, used to represent an unbounded value in computations." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "infinity;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Infinity" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::infinity", + "runtimeParameterDefinitions": [], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Infinity" + } + ], + "description": [ + { + "code": "en-US", + "content": "Provides the representation of positive infinity, used to represent an unbounded value in computations." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "infinity;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Infinity" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "() => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_is_equal.proto.json b/definitions/standard/runtime_definition/number/std_number_is_equal.proto.json index b2cb60c..54d6cbc 100644 --- a/definitions/standard/runtime_definition/number/std_number_is_equal.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_is_equal.proto.json @@ -1,77 +1,72 @@ { - "runtimeName": "std::number::is_equal", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "first", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "First Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "The first number to compare." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "second", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Second Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "The second number to compare." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Is Equal" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns true if the first number is equal to the second number, otherwise false." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "equal;equals;same;number;math;std;is" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${first} Equals ${second}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::is_equal", + "runtimeParameterDefinitions": [ + { + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "First Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "The first number to compare." + } + ], + "documentation": [] + }, + { + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Second Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "The second number to compare." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Is Equal" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns true if the first number is equal to the second number, otherwise false." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "equal;equals;same;number;math;std;is" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${first} Equals ${second}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(first: NUMBER, second: NUMBER) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "NUMBER", + "BOOLEAN" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_is_greater.proto.json b/definitions/standard/runtime_definition/number/std_number_is_greater.proto.json index 3c94b20..6a88097 100644 --- a/definitions/standard/runtime_definition/number/std_number_is_greater.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_is_greater.proto.json @@ -1,77 +1,72 @@ { - "runtimeName": "std::number::is_greater", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "first", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "First Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "This is the number that will be evaluated to determine if it is greater than the second number." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "second", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Second Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "This is the number that the first number will be compared to." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Is Greater" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns true if the first numeric input is greater than the second; otherwise, returns false." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "greater;larger;more;number;math;std;is" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${first} Is Greater than ${second}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::is_greater", + "runtimeParameterDefinitions": [ + { + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "First Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "This is the number that will be evaluated to determine if it is greater than the second number." + } + ], + "documentation": [] + }, + { + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Second Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "This is the number that the first number will be compared to." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Is Greater" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns true if the first numeric input is greater than the second; otherwise, returns false." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "greater;larger;more;number;math;std;is" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${first} Is Greater than ${second}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(first: NUMBER, second: NUMBER) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "BOOLEAN", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_is_less.proto.json b/definitions/standard/runtime_definition/number/std_number_is_less.proto.json index 65c7031..cab493f 100644 --- a/definitions/standard/runtime_definition/number/std_number_is_less.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_is_less.proto.json @@ -1,77 +1,72 @@ { - "runtimeName": "std::number::is_less", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "first", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "First Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "This is the number that will be evaluated to determine if it is less than the second number." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "second", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Second Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "This is the number that the first number will be compared to." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Is Less" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns true if the first numeric input is less than the second; otherwise, returns false." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "less;smaller;fewer;number;math;std;is" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${first} Less than ${second}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::is_less", + "runtimeParameterDefinitions": [ + { + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "First Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "This is the number that will be evaluated to determine if it is less than the second number." + } + ], + "documentation": [] + }, + { + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Second Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "This is the number that the first number will be compared to." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Is Less" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns true if the first numeric input is less than the second; otherwise, returns false." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "less;smaller;fewer;number;math;std;is" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${first} Less than ${second}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(first: NUMBER, second: NUMBER) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "NUMBER", + "BOOLEAN" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_is_positive.proto.json b/definitions/standard/runtime_definition/number/std_number_is_positive.proto.json index e1282fc..86d917c 100644 --- a/definitions/standard/runtime_definition/number/std_number_is_positive.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_is_positive.proto.json @@ -1,57 +1,55 @@ { - "runtimeName": "std::number::is_positive", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The number to check for positivity." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Is Positive Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "Evaluates the input number and returns true if it is positive (greater than zero), otherwise false." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "positive;greater than zero;number;math;std;is" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${value} Is Greater than 0" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::is_positive", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The number to check for positivity." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Is Positive Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "Evaluates the input number and returns true if it is positive (greater than zero), otherwise false." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "positive;greater than zero;number;math;std;is" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${value} Is Greater than 0" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "NUMBER", + "BOOLEAN" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_is_zero.proto.json b/definitions/standard/runtime_definition/number/std_number_is_zero.proto.json index f252bbf..717695f 100644 --- a/definitions/standard/runtime_definition/number/std_number_is_zero.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_is_zero.proto.json @@ -1,57 +1,55 @@ { - "runtimeName": "std::number::is_zero", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "This is the numeric input evaluated to determine whether it equals zero." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Number Is Zero" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns true if the input number is zero. Otherwise returns false." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "zero;equals zero;number;math;std;is" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${value} Equals 0" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::is_zero", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "This is the numeric input evaluated to determine whether it equals zero." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Number Is Zero" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns true if the input number is zero. Otherwise returns false." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "zero;equals zero;number;math;std;is" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${value} Equals 0" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "NUMBER", + "BOOLEAN" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_ln.proto.json b/definitions/standard/runtime_definition/number/std_number_ln.proto.json index d00f7e5..33094d2 100644 --- a/definitions/standard/runtime_definition/number/std_number_ln.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_ln.proto.json @@ -2,9 +2,6 @@ "runtimeName": "std::number::ln", "runtimeParameterDefinitions": [ { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, "runtimeName": "value", "defaultValue": null, "name": [ @@ -22,11 +19,7 @@ "documentation": [] } ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, "throwsError": false, - "genericKeys": [], "name": [ { "code": "en-US", @@ -53,5 +46,9 @@ } ], "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_log.proto.json b/definitions/standard/runtime_definition/number/std_number_log.proto.json index e993dc7..f142e40 100644 --- a/definitions/standard/runtime_definition/number/std_number_log.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_log.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::number::log", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The numeric input whose logarithm is to be calculated." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "base", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Base" - } - ], - "description": [ - { - "code": "en-US", - "content": "Specifies the logarithmic base to use (e.g., 10 for common log, e for natural log)." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Logarithm" - } - ], - "description": [ - { - "code": "en-US", - "content": "Calculates and returns the logarithm of a number with respect to a specified base." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "log;logarithm;log base;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Logarithm with Base ${base} of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::log", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The numeric input whose logarithm is to be calculated." + } + ], + "documentation": [] + }, + { + "runtimeName": "base", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Base" + } + ], + "description": [ + { + "code": "en-US", + "content": "Specifies the logarithmic base to use (e.g., 10 for common log, e for natural log)." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Logarithm" + } + ], + "description": [ + { + "code": "en-US", + "content": "Calculates and returns the logarithm of a number with respect to a specified base." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "log;logarithm;log base;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Logarithm with Base ${base} of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER, base: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_max.proto.json b/definitions/standard/runtime_definition/number/std_number_max.proto.json index e45e70c..e5745b8 100644 --- a/definitions/standard/runtime_definition/number/std_number_max.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_max.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::number::max", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "first", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "First Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "The first number to compare." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "second", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Second Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "The second number to compare." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Maximum Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "Compares two numbers and returns the maximum value." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "max;maximum;largest;greatest;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Maximum of ${first} and ${second}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::max", + "runtimeParameterDefinitions": [ + { + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "First Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "The first number to compare." + } + ], + "documentation": [] + }, + { + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Second Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "The second number to compare." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Maximum Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "Compares two numbers and returns the maximum value." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "max;maximum;largest;greatest;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Maximum of ${first} and ${second}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(first: NUMBER, second: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_min.proto.json b/definitions/standard/runtime_definition/number/std_number_min.proto.json index 0668a29..383916a 100644 --- a/definitions/standard/runtime_definition/number/std_number_min.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_min.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::number::min", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "first", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "First Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "The first number to compare." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "second", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Second Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "The second number to compare." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Minimum" - } - ], - "description": [ - { - "code": "en-US", - "content": "Compares two numbers and returns the minimum value." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "min;minimum;smallest;least;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Minimum of ${first} and ${second}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::min", + "runtimeParameterDefinitions": [ + { + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "First Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "The first number to compare." + } + ], + "documentation": [] + }, + { + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Second Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "The second number to compare." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Minimum" + } + ], + "description": [ + { + "code": "en-US", + "content": "Compares two numbers and returns the minimum value." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "min;minimum;smallest;least;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Minimum of ${first} and ${second}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(first: NUMBER, second: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_modulo.proto.json b/definitions/standard/runtime_definition/number/std_number_modulo.proto.json index 027711a..01b72c7 100644 --- a/definitions/standard/runtime_definition/number/std_number_modulo.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_modulo.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::number::modulo", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "first", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "The number to apply the modulo operator onto." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "second", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Modulo" - } - ], - "description": [ - { - "code": "en-US", - "content": "The modulo operator." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Modulo" - } - ], - "description": [ - { - "code": "en-US", - "content": "Computes the modulus (remainder) of dividing the first numeric input by the second." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "modulo;mod;remainder;modulus;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${first} Modulus ${second}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::modulo", + "runtimeParameterDefinitions": [ + { + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "The number to apply the modulo operator onto." + } + ], + "documentation": [] + }, + { + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Modulo" + } + ], + "description": [ + { + "code": "en-US", + "content": "The modulo operator." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Modulo" + } + ], + "description": [ + { + "code": "en-US", + "content": "Computes the modulus (remainder) of dividing the first numeric input by the second." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "modulo;mod;remainder;modulus;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${first} Modulus ${second}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(first: NUMBER, second: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_multiply.proto.json b/definitions/standard/runtime_definition/number/std_number_multiply.proto.json index 85fb045..312e938 100644 --- a/definitions/standard/runtime_definition/number/std_number_multiply.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_multiply.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::number::multiply", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "first", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "First Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "The first number to multiply." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "second", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Second Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "The second number to multiply." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Multiply" - } - ], - "description": [ - { - "code": "en-US", - "content": "Takes two numeric inputs and returns their product." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "multiply;times;product;mul;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${first} Multiply by ${second}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::multiply", + "runtimeParameterDefinitions": [ + { + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "First Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "The first number to multiply." + } + ], + "documentation": [] + }, + { + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Second Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "The second number to multiply." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Multiply" + } + ], + "description": [ + { + "code": "en-US", + "content": "Takes two numeric inputs and returns their product." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "multiply;times;product;mul;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${first} Multiply by ${second}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(first: NUMBER, second: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_negate.proto.json b/definitions/standard/runtime_definition/number/std_number_negate.proto.json index 73da2b4..fee8298 100644 --- a/definitions/standard/runtime_definition/number/std_number_negate.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_negate.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::number::negate", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The number to negate." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Negate" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns the negation of a number (multiplies by -1)." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "negate;negative;invert;opposite;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Negate ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::negate", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The number to negate." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Negate" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns the negation of a number (multiplies by -1)." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "negate;negative;invert;opposite;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Negate ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_pi.proto.json b/definitions/standard/runtime_definition/number/std_number_pi.proto.json index a0e1fd9..0d325bc 100644 --- a/definitions/standard/runtime_definition/number/std_number_pi.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_pi.proto.json @@ -1,36 +1,36 @@ { - "runtimeName": "std::number::pi", - "runtimeParameterDefinitions": [], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Pi" - } - ], - "description": [ - { - "code": "en-US", - "content": "Provides the constant value of pi, approximately 3.14159, used in many mathematical calculations." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "pi;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Pi" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::pi", + "runtimeParameterDefinitions": [], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Pi" + } + ], + "description": [ + { + "code": "en-US", + "content": "Provides the constant value of pi, approximately 3.14159, used in many mathematical calculations." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "pi;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Pi" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "() => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_random_number.proto.json b/definitions/standard/runtime_definition/number/std_number_random_number.proto.json index b3eed69..514f769 100644 --- a/definitions/standard/runtime_definition/number/std_number_random_number.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_random_number.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::number::random_number", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "min", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Minimum Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Defines the lower bound (inclusive) for the random number generation." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "max", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Maximum Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Defines the upper bound (inclusive) for the random number generation." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Random Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a randomly generated number within the given range, inclusive of both minimum and maximum." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "random;rand;random number;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Random Number Between ${min} and ${max}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::random_number", + "runtimeParameterDefinitions": [ + { + "runtimeName": "min", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Minimum Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Defines the lower bound (inclusive) for the random number generation." + } + ], + "documentation": [] + }, + { + "runtimeName": "max", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Maximum Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Defines the upper bound (inclusive) for the random number generation." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Random Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a randomly generated number within the given range, inclusive of both minimum and maximum." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "random;rand;random number;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Random Number Between ${min} and ${max}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(min: NUMBER, max: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_root.proto.json b/definitions/standard/runtime_definition/number/std_number_root.proto.json index 7c8ba83..7d5b7ee 100644 --- a/definitions/standard/runtime_definition/number/std_number_root.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_root.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::number::root", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The numeric input for which the root will be calculated." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "root_exponent", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Root Exponent" - } - ], - "description": [ - { - "code": "en-US", - "content": "The degree of the root to extract." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Root" - } - ], - "description": [ - { - "code": "en-US", - "content": "Calculates the nth root of the input number, where n is specified by the root exponent." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "root;nth root;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${root_exponent} Root of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::root", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The numeric input for which the root will be calculated." + } + ], + "documentation": [] + }, + { + "runtimeName": "root_exponent", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Root Exponent" + } + ], + "description": [ + { + "code": "en-US", + "content": "The degree of the root to extract." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Root" + } + ], + "description": [ + { + "code": "en-US", + "content": "Calculates the nth root of the input number, where n is specified by the root exponent." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "root;nth root;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${root_exponent} Root of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER, root_exponent: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_round.proto.json b/definitions/standard/runtime_definition/number/std_number_round.proto.json index 119d169..f1c9832 100644 --- a/definitions/standard/runtime_definition/number/std_number_round.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_round.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::number::round", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The numeric input that will be rounded to the nearest value." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "decimals", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Decimal Places" - } - ], - "description": [ - { - "code": "en-US", - "content": "Specifies how many decimal digits to keep after rounding." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Round Number" - } - ], - "description": [ - { - "code": "en-US", - "content": "Rounds a number to the nearest value at the specified number of decimal places." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "round;nearest;approximate;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Round ${value} with ${decimals} Decimal Places" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::round", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The numeric input that will be rounded to the nearest value." + } + ], + "documentation": [] + }, + { + "runtimeName": "decimals", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Decimal Places" + } + ], + "description": [ + { + "code": "en-US", + "content": "Specifies how many decimal digits to keep after rounding." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Round Number" + } + ], + "description": [ + { + "code": "en-US", + "content": "Rounds a number to the nearest value at the specified number of decimal places." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "round;nearest;approximate;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Round ${value} with ${decimals} Decimal Places" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER, decimals: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_round_down.proto.json b/definitions/standard/runtime_definition/number/std_number_round_down.proto.json index be8a575..e98dac8 100644 --- a/definitions/standard/runtime_definition/number/std_number_round_down.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_round_down.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::number::round_down", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The numeric input that will be rounded downwards." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "decimals", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Decimal Places" - } - ], - "description": [ - { - "code": "en-US", - "content": "Specifies how many decimal digits to keep after rounding down." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Round Number Down" - } - ], - "description": [ - { - "code": "en-US", - "content": "Rounds a number downward to the specified number of decimal places." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "round down;floor;number;math;std;round;down" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Round Down ${value} with ${decimals} Decimal Places" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::round_down", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The numeric input that will be rounded downwards." + } + ], + "documentation": [] + }, + { + "runtimeName": "decimals", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Decimal Places" + } + ], + "description": [ + { + "code": "en-US", + "content": "Specifies how many decimal digits to keep after rounding down." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Round Number Down" + } + ], + "description": [ + { + "code": "en-US", + "content": "Rounds a number downward to the specified number of decimal places." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "round down;floor;number;math;std;round;down" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Round Down ${value} with ${decimals} Decimal Places" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER, decimals: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_round_up.proto.json b/definitions/standard/runtime_definition/number/std_number_round_up.proto.json index 47fbb80..a3c8a30 100644 --- a/definitions/standard/runtime_definition/number/std_number_round_up.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_round_up.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::number::round_up", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Number Input" - } - ], - "description": [ - { - "code": "en-US", - "content": "The number to be rounded up." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "decimals", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Decimal Places" - } - ], - "description": [ - { - "code": "en-US", - "content": "The number of decimal places to round up to." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Round Up" - } - ], - "description": [ - { - "code": "en-US", - "content": "Performs rounding on the given value, always rounding up to the nearest value at the given decimal precision." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "round up;ceil;ceiling;number;math;std;round;up" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Round Upwards ${value} with ${decimals} Decimal Places" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::round_up", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Number Input" + } + ], + "description": [ + { + "code": "en-US", + "content": "The number to be rounded up." + } + ], + "documentation": [] + }, + { + "runtimeName": "decimals", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Decimal Places" + } + ], + "description": [ + { + "code": "en-US", + "content": "The number of decimal places to round up to." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Round Up" + } + ], + "description": [ + { + "code": "en-US", + "content": "Performs rounding on the given value, always rounding up to the nearest value at the given decimal precision." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "round up;ceil;ceiling;number;math;std;round;up" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Round Upwards ${value} with ${decimals} Decimal Places" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER, decimals: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_sin.proto.json b/definitions/standard/runtime_definition/number/std_number_sin.proto.json index 572a2d0..f8ff576 100644 --- a/definitions/standard/runtime_definition/number/std_number_sin.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_sin.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::number::sin", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Number Input" - } - ], - "description": [ - { - "code": "en-US", - "content": "The number for which to calculate the sine." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Sine" - } - ], - "description": [ - { - "code": "en-US", - "content": "Calculates the sine of the input value." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "sin;sine;trigonometry;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Sine of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::sin", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Number Input" + } + ], + "description": [ + { + "code": "en-US", + "content": "The number for which to calculate the sine." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Sine" + } + ], + "description": [ + { + "code": "en-US", + "content": "Calculates the sine of the input value." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "sin;sine;trigonometry;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Sine of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_sinh.proto.json b/definitions/standard/runtime_definition/number/std_number_sinh.proto.json index 4897bba..d1d2e3b 100644 --- a/definitions/standard/runtime_definition/number/std_number_sinh.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_sinh.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::number::sinh", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Number Input" - } - ], - "description": [ - { - "code": "en-US", - "content": "The number for which to calculate the hyperbolic sine." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Hyperbolic Sine" - } - ], - "description": [ - { - "code": "en-US", - "content": "Calculates the hyperbolic sine (sinh) of the input value." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "sinh;hyperbolic sine;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Hyperbolic Sine of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::sinh", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Number Input" + } + ], + "description": [ + { + "code": "en-US", + "content": "The number for which to calculate the hyperbolic sine." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Hyperbolic Sine" + } + ], + "description": [ + { + "code": "en-US", + "content": "Calculates the hyperbolic sine (sinh) of the input value." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "sinh;hyperbolic sine;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Hyperbolic Sine of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_square.proto.json b/definitions/standard/runtime_definition/number/std_number_square.proto.json index 1d93843..29da194 100644 --- a/definitions/standard/runtime_definition/number/std_number_square.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_square.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::number::square", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The number to be squared." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Square" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns the square of the given number." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "square;squared;power two;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${value} Squared" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::square", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The number to be squared." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Square" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns the square of the given number." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "square;squared;power two;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${value} Squared" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_square_root.proto.json b/definitions/standard/runtime_definition/number/std_number_square_root.proto.json index 1b66d1a..9d3ca46 100644 --- a/definitions/standard/runtime_definition/number/std_number_square_root.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_square_root.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::number::square_root", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The number to find the square root of." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Square Root" - } - ], - "description": [ - { - "code": "en-US", - "content": "Calculates the positive square root of the input number." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "square root;sqrt;root;number;math;std;square" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Square Root of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::square_root", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The number to find the square root of." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Square Root" + } + ], + "description": [ + { + "code": "en-US", + "content": "Calculates the positive square root of the input number." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "square root;sqrt;root;number;math;std;square" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Square Root of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(value: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_subtract.proto.json b/definitions/standard/runtime_definition/number/std_number_subtract.proto.json index fe8214c..9253b7e 100644 --- a/definitions/standard/runtime_definition/number/std_number_subtract.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_subtract.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::number::subtract", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "first", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Minuend" - } - ], - "description": [ - { - "code": "en-US", - "content": "The number from which another number (the subtrahend) is to be subtracted." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "second", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Subtrahend" - } - ], - "description": [ - { - "code": "en-US", - "content": "The number to subtract from the first number (the minuend)." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Subtract" - } - ], - "description": [ - { - "code": "en-US", - "content": "Subtracts the second number from the first number." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "subtract;minus;difference;sub;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${first} Minus ${second}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::subtract", + "runtimeParameterDefinitions": [ + { + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Minuend" + } + ], + "description": [ + { + "code": "en-US", + "content": "The number from which another number (the subtrahend) is to be subtracted." + } + ], + "documentation": [] + }, + { + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Subtrahend" + } + ], + "description": [ + { + "code": "en-US", + "content": "The number to subtract from the first number (the minuend)." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Subtract" + } + ], + "description": [ + { + "code": "en-US", + "content": "Subtracts the second number from the first number." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "subtract;minus;difference;sub;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${first} Minus ${second}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(first: NUMBER, second: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/number/std_number_tan.proto.json b/definitions/standard/runtime_definition/number/std_number_tan.proto.json index 9d47bbf..c9e0674 100644 --- a/definitions/standard/runtime_definition/number/std_number_tan.proto.json +++ b/definitions/standard/runtime_definition/number/std_number_tan.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::number::tan", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "radians", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Radians" - } - ], - "description": [ - { - "code": "en-US", - "content": "Computes the tangent of the given angle in radians." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Tangent" - } - ], - "description": [ - { - "code": "en-US", - "content": "Calculates the tangent value of the input angle measured in radians." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "tan;tangent;trigonometry;number;math;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Tangent of ${radians}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:math-function" + "runtimeName": "std::number::tan", + "runtimeParameterDefinitions": [ + { + "runtimeName": "radians", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Radians" + } + ], + "description": [ + { + "code": "en-US", + "content": "Computes the tangent of the given angle in radians." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Tangent" + } + ], + "description": [ + { + "code": "en-US", + "content": "Calculates the tangent value of the input angle measured in radians." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "tan;tangent;trigonometry;number;math;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Tangent of ${radians}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:math-function", + "signature": "(radians: NUMBER) => NUMBER", + "linkedDataTypeIdentifiers": [ + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/object/std_object_contains_key.proto.json b/definitions/standard/runtime_definition/object/std_object_contains_key.proto.json index 258be02..b19dd5f 100644 --- a/definitions/standard/runtime_definition/object/std_object_contains_key.proto.json +++ b/definitions/standard/runtime_definition/object/std_object_contains_key.proto.json @@ -1,92 +1,72 @@ { - "runtimeName": "std::object::contains_key", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "OBJECT", - "genericMappers": [ - { - "source": [ - { - "genericKey": "O" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "object", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Object" - } - ], - "description": [ - { - "code": "en-US", - "content": "The object to check for the presence of a key." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "key", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Key" - } - ], - "description": [ - { - "code": "en-US", - "content": "The key to check for existence in the object." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [ - "O" - ], - "name": [ - { - "code": "en-US", - "content": "Contains Key" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns true if the given key is a property of the object; otherwise, returns false." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "contains_key;object;std;contains;key" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Checks if ${object} Contains ${key}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:cube" + "runtimeName": "std::object::contains_key", + "runtimeParameterDefinitions": [ + { + "runtimeName": "object", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Object" + } + ], + "description": [ + { + "code": "en-US", + "content": "The object to check for the presence of a key." + } + ], + "documentation": [] + }, + { + "runtimeName": "key", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Key" + } + ], + "description": [ + { + "code": "en-US", + "content": "The key to check for existence in the object." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Contains Key" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns true if the given key is a property of the object; otherwise, returns false." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "contains_key;object;std;contains;key" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Checks if ${object} Contains ${key}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:cube", + "signature": "(object: OBJECT, key: keyof Object) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "OBJECT", + "BOOLEAN" + ] } diff --git a/definitions/standard/runtime_definition/object/std_object_get.proto.json b/definitions/standard/runtime_definition/object/std_object_get.proto.json index 22f27bc..02d8e27 100644 --- a/definitions/standard/runtime_definition/object/std_object_get.proto.json +++ b/definitions/standard/runtime_definition/object/std_object_get.proto.json @@ -1,93 +1,71 @@ { - "runtimeName": "std::object::get", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "OBJECT", - "genericMappers": [ - { - "source": [ - { - "genericKey": "O" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "object", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Object" - } - ], - "description": [ - { - "code": "en-US", - "content": "The object that contains the value referenced by the key." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "key", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Key" - } - ], - "description": [ - { - "code": "en-US", - "content": "The property name under which the value will be referenced." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericKey": "K" - }, - "throwsError": false, - "genericKeys": [ - "K", - "O" - ], - "name": [ - { - "code": "en-US", - "content": "Get key of object" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns the value of a key inside of the object." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "get;object;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Get ${key} of ${object}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:cube" + "runtimeName": "std::object::get", + "runtimeParameterDefinitions": [ + { + "runtimeName": "object", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Object" + } + ], + "description": [ + { + "code": "en-US", + "content": "The object that contains the value referenced by the key." + } + ], + "documentation": [] + }, + { + "runtimeName": "key", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Key" + } + ], + "description": [ + { + "code": "en-US", + "content": "The property name under which the value will be referenced." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Get key of object" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns the value of a key inside of the object." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "get;object;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Get ${key} of ${object}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:cube", + "signature": ">(object: OBJECT, key: K) => T[K]", + "linkedDataTypeIdentifiers": [ + "OBJECT" + ] } diff --git a/definitions/standard/runtime_definition/object/std_object_keys.proto.json b/definitions/standard/runtime_definition/object/std_object_keys.proto.json index 727ef4f..00e9331 100644 --- a/definitions/standard/runtime_definition/object/std_object_keys.proto.json +++ b/definitions/standard/runtime_definition/object/std_object_keys.proto.json @@ -2,22 +2,6 @@ "runtimeName": "std::object::keys", "runtimeParameterDefinitions": [ { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "OBJECT", - "genericMappers": [ - { - "source": [ - { - "genericKey": "O" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, "runtimeName": "object", "defaultValue": null, "name": [ @@ -35,24 +19,7 @@ "documentation": [] } ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "dataTypeIdentifier": "TEXT" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, "throwsError": false, - "genericKeys": ["O"], "name": [ { "code": "en-US", @@ -79,5 +46,10 @@ } ], "deprecationMessage": [], - "displayIcon": "tabler:cube" + "displayIcon": "tabler:cube", + "signature": "(object: OBJECT) => LIST>", + "linkedDataTypeIdentifiers": [ + "OBJECT", + "LIST" + ] } diff --git a/definitions/standard/runtime_definition/object/std_object_set.proto.json b/definitions/standard/runtime_definition/object/std_object_set.proto.json index fef874b..4cc956b 100644 --- a/definitions/standard/runtime_definition/object/std_object_set.proto.json +++ b/definitions/standard/runtime_definition/object/std_object_set.proto.json @@ -1,113 +1,88 @@ { - "runtimeName": "std::object::set", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "OBJECT", - "genericMappers": [ - { - "source": [ - { - "genericKey": "O" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "object", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Object" - } - ], - "description": [ - { - "code": "en-US", - "content": "The original object that will be modified with the specified key-value pair." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "key", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Key" - } - ], - "description": [ - { - "code": "en-US", - "content": "The property name under which the value will be stored in the object." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "genericKey": "I" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The value to assign to the object property identified by the key." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "OBJECT" - }, - "throwsError": false, - "genericKeys": [ - "I", - "O" - ], - "name": [ - { - "code": "en-US", - "content": "Set Object Key" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a new object with the specified key set to the given value." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "set;object;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Set ${key} to ${value} of ${object}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:cube" + "runtimeName": "std::object::set", + "runtimeParameterDefinitions": [ + { + "runtimeName": "object", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Object" + } + ], + "description": [ + { + "code": "en-US", + "content": "The original object that will be modified with the specified key-value pair." + } + ], + "documentation": [] + }, + { + "runtimeName": "key", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Key" + } + ], + "description": [ + { + "code": "en-US", + "content": "The property name under which the value will be stored in the object." + } + ], + "documentation": [] + }, + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The value to assign to the object property identified by the key." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Set Object Key" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a new object with the specified key set to the given value." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "set;object;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Set ${key} to ${value} of ${object}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:cube", + "signature": ">(object: OBJECT, key: keyof OBJECT, value: T[K]) => OBJECT", + "linkedDataTypeIdentifiers": [ + "OBJECT" + ] } diff --git a/definitions/standard/runtime_definition/object/std_object_size.proto.json b/definitions/standard/runtime_definition/object/std_object_size.proto.json index 27f487e..eb63e85 100644 --- a/definitions/standard/runtime_definition/object/std_object_size.proto.json +++ b/definitions/standard/runtime_definition/object/std_object_size.proto.json @@ -1,70 +1,55 @@ { - "runtimeName": "std::object::size", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "OBJECT", - "genericMappers": [ - { - "source": [ - { - "genericKey": "O" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "object", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Object" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns the number of keys present in the given object." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": ["O"], - "name": [ - { - "code": "en-US", - "content": "Get Object Size" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns an integer count of all enumerable property keys in the specified object." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "size;object;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Size of ${object}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:cube" + "runtimeName": "std::object::size", + "runtimeParameterDefinitions": [ + { + "runtimeName": "object", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Object" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns the number of keys present in the given object." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Get Object Size" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns an integer count of all enumerable property keys in the specified object." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "size;object;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Size of ${object}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:cube", + "signature": "(object: OBJECT) => NUMBER", + "linkedDataTypeIdentifiers": [ + "OBJECT", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_append.proto.json b/definitions/standard/runtime_definition/text/std_text_append.proto.json index 70ae893..bae5531 100644 --- a/definitions/standard/runtime_definition/text/std_text_append.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_append.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::text::append", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Original Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The base text that will have another text appended to its end." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "suffix", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Suffix" - } - ], - "description": [ - { - "code": "en-US", - "content": "The text that will be appended to the end of the original text." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Append Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a new text consisting of the original text followed by the specified suffix." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "append;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Append ${suffix} at the End of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::append", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Original Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The base text that will have another text appended to its end." + } + ], + "documentation": [] + }, + { + "runtimeName": "suffix", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Suffix" + } + ], + "description": [ + { + "code": "en-US", + "content": "The text that will be appended to the end of the original text." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Append Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a new text consisting of the original text followed by the specified suffix." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "append;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Append ${suffix} at the End of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, suffix: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_as_bytes.proto.json b/definitions/standard/runtime_definition/text/std_text_as_bytes.proto.json index 25bfa88..85031fc 100644 --- a/definitions/standard/runtime_definition/text/std_text_as_bytes.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_as_bytes.proto.json @@ -1,70 +1,56 @@ { - "runtimeName": "std::text::as_bytes", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Converts the input text into a list of byte values." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "dataTypeIdentifier": "NUMBER" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Text As Bytes" - } - ], - "description": [ - { - "code": "en-US", - "content": "Converts a text into a list of byte values." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "as_bytes;text;string;std;as;bytes" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${value} As Bytes" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::as_bytes", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Converts the input text into a list of byte values." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Text As Bytes" + } + ], + "description": [ + { + "code": "en-US", + "content": "Converts a text into a list of byte values." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "as_bytes;text;string;std;as;bytes" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${value} As Bytes" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT) => LIST", + "linkedDataTypeIdentifiers": [ + "TEXT", + "LIST", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_at.proto.json b/definitions/standard/runtime_definition/text/std_text_at.proto.json index 65a8017..647dd54 100644 --- a/definitions/standard/runtime_definition/text/std_text_at.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_at.proto.json @@ -1,77 +1,72 @@ { - "runtimeName": "std::text::at", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input text from which a character will be retrieved by index." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "index", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Index" - } - ], - "description": [ - { - "code": "en-US", - "content": "The zero-based position of the character to extract." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Character at Index" - } - ], - "description": [ - { - "code": "en-US", - "content": "Retrieves a single character from the input text based on the provided zero-based index." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "at;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Get Character of ${value} at ${index}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::at", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input text from which a character will be retrieved by index." + } + ], + "documentation": [] + }, + { + "runtimeName": "index", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Index" + } + ], + "description": [ + { + "code": "en-US", + "content": "The zero-based position of the character to extract." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Character at Index" + } + ], + "description": [ + { + "code": "en-US", + "content": "Retrieves a single character from the input text based on the provided zero-based index." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "at;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Get Character of ${value} at ${index}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, index: NUMBER) => TEXT", + "linkedDataTypeIdentifiers": [ + "NUMBER", + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_byte_size.proto.json b/definitions/standard/runtime_definition/text/std_text_byte_size.proto.json index 54eff10..5a41a2b 100644 --- a/definitions/standard/runtime_definition/text/std_text_byte_size.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_byte_size.proto.json @@ -1,57 +1,55 @@ { - "runtimeName": "std::text::byte_size", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The text whose byte size is to be calculated." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Byte Size" - } - ], - "description": [ - { - "code": "en-US", - "content": "Computes the size in bytes of the provided text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "byte_size;text;string;std;byte;size" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Byte-Size of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::byte_size", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The text whose byte size is to be calculated." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Byte Size" + } + ], + "description": [ + { + "code": "en-US", + "content": "Computes the size in bytes of the provided text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "byte_size;text;string;std;byte;size" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Byte-Size of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT) => NUMBER", + "linkedDataTypeIdentifiers": [ + "TEXT", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_capitalize.proto.json b/definitions/standard/runtime_definition/text/std_text_capitalize.proto.json index 28a2e71..85f96a1 100644 --- a/definitions/standard/runtime_definition/text/std_text_capitalize.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_capitalize.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::text::capitalize", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Capitalizes the first letter of the input text." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Capitalize" - } - ], - "description": [ - { - "code": "en-US", - "content": "Converts the first character of the text to uppercase and leaves the rest unchanged." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "capitalize;title case;upper first;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Capitalize ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::capitalize", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Capitalizes the first letter of the input text." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Capitalize" + } + ], + "description": [ + { + "code": "en-US", + "content": "Converts the first character of the text to uppercase and leaves the rest unchanged." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "capitalize;title case;upper first;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Capitalize ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_chars.proto.json b/definitions/standard/runtime_definition/text/std_text_chars.proto.json index d8628bc..fd412f4 100644 --- a/definitions/standard/runtime_definition/text/std_text_chars.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_chars.proto.json @@ -1,70 +1,55 @@ { - "runtimeName": "std::text::chars", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Splits the input text into a list of its constituent characters." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "dataTypeIdentifier": "TEXT" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Characters" - } - ], - "description": [ - { - "code": "en-US", - "content": "Creates a list where each element is a single character from the original text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "characters;letters;split;text;string;std;chars" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Turns ${value} into a List of Characters" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::chars", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Splits the input text into a list of its constituent characters." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Characters" + } + ], + "description": [ + { + "code": "en-US", + "content": "Creates a list where each element is a single character from the original text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "characters;letters;split;text;string;std;chars" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Turns ${value} into a List of Characters" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT) => LIST", + "linkedDataTypeIdentifiers": [ + "TEXT", + "LIST" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_contains.proto.json b/definitions/standard/runtime_definition/text/std_text_contains.proto.json index 89b255f..2e2b6a4 100644 --- a/definitions/standard/runtime_definition/text/std_text_contains.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_contains.proto.json @@ -1,77 +1,72 @@ { - "runtimeName": "std::text::contains", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The main text to search within." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "substring", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Subtext" - } - ], - "description": [ - { - "code": "en-US", - "content": "The text to search for inside the main text." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Contains Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns true if the subtext is found anywhere in the main text. Otherwise, returns false." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "contains;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Check if ${value} contains ${substring}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::contains", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The main text to search within." + } + ], + "documentation": [] + }, + { + "runtimeName": "substring", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Subtext" + } + ], + "description": [ + { + "code": "en-US", + "content": "The text to search for inside the main text." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Contains Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns true if the subtext is found anywhere in the main text. Otherwise, returns false." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "contains;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Check if ${value} contains ${substring}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, substring: TEXT) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "TEXT", + "BOOLEAN" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_decode.proto.json b/definitions/standard/runtime_definition/text/std_text_decode.proto.json index b79a808..a26fd95 100644 --- a/definitions/standard/runtime_definition/text/std_text_decode.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_decode.proto.json @@ -1,77 +1,72 @@ { - "runtimeName": "std::text::decode", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The text to decode." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT_ENCODING" - }, - "runtimeName": "encoding", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Encoding Type" - } - ], - "description": [ - { - "code": "en-US", - "content": "The decoding scheme to apply (e.g. Base64)." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Decode Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Decodes the input text from the specified encoding format." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "decode;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Decode ${value} using ${encoding}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::decode", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The text to decode." + } + ], + "documentation": [] + }, + { + "runtimeName": "encoding", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Encoding Type" + } + ], + "description": [ + { + "code": "en-US", + "content": "The decoding scheme to apply (e.g. Base64)." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Decode Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Decodes the input text from the specified encoding format." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "decode;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Decode ${value} using ${encoding}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, encoding: TEXT_ENCODING) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT", + "TEXT_ENCODING" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_encode.proto.json b/definitions/standard/runtime_definition/text/std_text_encode.proto.json index 93c9895..29c192c 100644 --- a/definitions/standard/runtime_definition/text/std_text_encode.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_encode.proto.json @@ -1,77 +1,72 @@ { - "runtimeName": "std::text::encode", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The text to encode." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT_ENCODING" - }, - "runtimeName": "encoding", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Encoding Type" - } - ], - "description": [ - { - "code": "en-US", - "content": "The encoding scheme to apply (e.g., UTF-8, Base64)." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Encode Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Transforms the given text into a representation encoded by the specified encoding scheme." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "encode;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Encode ${value} to ${encoding}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::encode", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The text to encode." + } + ], + "documentation": [] + }, + { + "runtimeName": "encoding", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Encoding Type" + } + ], + "description": [ + { + "code": "en-US", + "content": "The encoding scheme to apply (e.g., UTF-8, Base64)." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Encode Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Transforms the given text into a representation encoded by the specified encoding scheme." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "encode;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Encode ${value} to ${encoding}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, encoding: TEXT_ENCODING) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT", + "TEXT_ENCODING" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_ends_with.proto.json b/definitions/standard/runtime_definition/text/std_text_ends_with.proto.json index 9ee4484..8fb4e5b 100644 --- a/definitions/standard/runtime_definition/text/std_text_ends_with.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_ends_with.proto.json @@ -1,77 +1,72 @@ { - "runtimeName": "std::text::ends_with", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input text to check." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "suffix", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Suffix" - } - ], - "description": [ - { - "code": "en-US", - "content": "The suffix to test against the input text." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Ends With" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns true if the input text ends with the given suffix. Otherwise, returns false." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "ends_with;text;string;std;ends;with" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Check if ${value} Ends With ${suffix}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::ends_with", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input text to check." + } + ], + "documentation": [] + }, + { + "runtimeName": "suffix", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Suffix" + } + ], + "description": [ + { + "code": "en-US", + "content": "The suffix to test against the input text." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Ends With" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns true if the input text ends with the given suffix. Otherwise, returns false." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "ends_with;text;string;std;ends;with" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Check if ${value} Ends With ${suffix}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, suffix: TEXT) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "TEXT", + "BOOLEAN" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_from_ascii.proto.json b/definitions/standard/runtime_definition/text/std_text_from_ascii.proto.json index 491a2c9..04ff861 100644 --- a/definitions/standard/runtime_definition/text/std_text_from_ascii.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_from_ascii.proto.json @@ -1,70 +1,56 @@ { - "runtimeName": "std::text::from_ascii", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "dataTypeIdentifier": "NUMBER" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "ASCII Code" - } - ], - "description": [ - { - "code": "en-US", - "content": "List of ASCII numeric codes representing characters." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Text from ASCII" - } - ], - "description": [ - { - "code": "en-US", - "content": "Converts a list of ASCII codes back into the corresponding text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "from_ascii;text;string;std;from;ascii" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${value} to Text" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::from_ascii", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "ASCII Code" + } + ], + "description": [ + { + "code": "en-US", + "content": "List of ASCII numeric codes representing characters." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Text from ASCII" + } + ], + "description": [ + { + "code": "en-US", + "content": "Converts a list of ASCII codes back into the corresponding text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "from_ascii;text;string;std;from;ascii" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${value} to Text" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: LIST) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT", + "NUMBER", + "LIST" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_hex.proto.json b/definitions/standard/runtime_definition/text/std_text_hex.proto.json index 2572b1b..d4359d9 100644 --- a/definitions/standard/runtime_definition/text/std_text_hex.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_hex.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::text::hex", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The text to be converted to its hexadecimal representation." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Text to Hexadecimal" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a text containing the hexadecimal values corresponding to each character of the input text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "hex;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${value} to Hexadecimal" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::hex", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The text to be converted to its hexadecimal representation." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Text to Hexadecimal" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a text containing the hexadecimal values corresponding to each character of the input text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "hex;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${value} to Hexadecimal" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_index_of.proto.json b/definitions/standard/runtime_definition/text/std_text_index_of.proto.json index 4a9a795..db6f614 100644 --- a/definitions/standard/runtime_definition/text/std_text_index_of.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_index_of.proto.json @@ -1,77 +1,72 @@ { - "runtimeName": "std::text::index_of", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The text to search within." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "substring", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Subtext" - } - ], - "description": [ - { - "code": "en-US", - "content": "The subtext to find inside the text." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Index Of" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns the zero-based index of the first occurrence of the subtext in the text. Returns -1 if the subtext is not found." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "index_of;text;string;std;index;of" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Get Position of ${substring} Inside ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::index_of", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The text to search within." + } + ], + "documentation": [] + }, + { + "runtimeName": "substring", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Subtext" + } + ], + "description": [ + { + "code": "en-US", + "content": "The subtext to find inside the text." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Index Of" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns the zero-based index of the first occurrence of the subtext in the text. Returns -1 if the subtext is not found." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "index_of;text;string;std;index;of" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Get Position of ${substring} Inside ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, substring: TEXT) => NUMBER", + "linkedDataTypeIdentifiers": [ + "TEXT", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_insert.proto.json b/definitions/standard/runtime_definition/text/std_text_insert.proto.json index 62dc050..eb40a23 100644 --- a/definitions/standard/runtime_definition/text/std_text_insert.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_insert.proto.json @@ -1,102 +1,94 @@ { - "runtimeName": "std::text::insert", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Original Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The original text into which another text will be inserted." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "position", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Position" - } - ], - "description": [ - { - "code": "en-US", - "content": "Zero-based index indicating where the new text should be inserted." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "text", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text to Insert" - } - ], - "description": [ - { - "code": "en-US", - "content": "The text that will be inserted into the original text." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "The subtext to be inserted at the specified position." - } - ] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Insert Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a new text where the provided text is inserted at the zero-based position index within the original text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "insert;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Insert ${value} at ${position} into ${text}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::insert", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Original Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The original text into which another text will be inserted." + } + ], + "documentation": [] + }, + { + "runtimeName": "position", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Position" + } + ], + "description": [ + { + "code": "en-US", + "content": "Zero-based index indicating where the new text should be inserted." + } + ], + "documentation": [] + }, + { + "runtimeName": "text", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text to Insert" + } + ], + "description": [ + { + "code": "en-US", + "content": "The text that will be inserted into the original text." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "The subtext to be inserted at the specified position." + } + ] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Insert Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a new text where the provided text is inserted at the zero-based position index within the original text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "insert;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Insert ${value} at ${position} into ${text}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, position: NUMBER, text: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_is_equal.proto.json b/definitions/standard/runtime_definition/text/std_text_is_equal.proto.json index e117e72..c02f2e8 100644 --- a/definitions/standard/runtime_definition/text/std_text_is_equal.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_is_equal.proto.json @@ -1,77 +1,72 @@ { - "runtimeName": "std::text::is_equal", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "first", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "First Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The first text to compare." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "second", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Second Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The second text to compare." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Is Equal" - } - ], - "description": [ - { - "code": "en-US", - "content": "Determines if the two given text inputs are exactly the same, returning true if equal, false otherwise." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "equal;equals;same;text;string;std;is" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${first} Equals ${second}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::is_equal", + "runtimeParameterDefinitions": [ + { + "runtimeName": "first", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "First Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The first text to compare." + } + ], + "documentation": [] + }, + { + "runtimeName": "second", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Second Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The second text to compare." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Is Equal" + } + ], + "description": [ + { + "code": "en-US", + "content": "Determines if the two given text inputs are exactly the same, returning true if equal, false otherwise." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "equal;equals;same;text;string;std;is" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${first} Equals ${second}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(first: TEXT, second: TEXT) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "TEXT", + "BOOLEAN" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_length.proto.json b/definitions/standard/runtime_definition/text/std_text_length.proto.json index f92a0ba..c4daab7 100644 --- a/definitions/standard/runtime_definition/text/std_text_length.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_length.proto.json @@ -1,57 +1,55 @@ { - "runtimeName": "std::text::length", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Input text to determine the number of characters it contains." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Length" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns the number of characters in the given text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "length;size;characters;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Length of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::length", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Input text to determine the number of characters it contains." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Length" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns the number of characters in the given text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "length;size;characters;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Length of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT) => NUMBER", + "linkedDataTypeIdentifiers": [ + "TEXT", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_lowercase.proto.json b/definitions/standard/runtime_definition/text/std_text_lowercase.proto.json index 9a6cf52..e6cf28c 100644 --- a/definitions/standard/runtime_definition/text/std_text_lowercase.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_lowercase.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::text::lowercase", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Converts all characters in the input text to lowercase." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Text to Lowercase" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a new text with all characters converted to lowercase." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "lowercase;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${value} to Lowercase" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::lowercase", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Converts all characters in the input text to lowercase." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Text to Lowercase" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a new text with all characters converted to lowercase." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "lowercase;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${value} to Lowercase" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_octal.proto.json b/definitions/standard/runtime_definition/text/std_text_octal.proto.json index ad631b1..66796c5 100644 --- a/definitions/standard/runtime_definition/text/std_text_octal.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_octal.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::text::octal", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Input Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The text to be converted to its octal representation." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Text to Octal" - } - ], - "description": [ - { - "code": "en-US", - "content": "Converts a text into an octal representation." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "octal;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${value} to Octal" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::octal", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Input Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The text to be converted to its octal representation." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Text to Octal" + } + ], + "description": [ + { + "code": "en-US", + "content": "Converts a text into an octal representation." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "octal;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${value} to Octal" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_prepend.proto.json b/definitions/standard/runtime_definition/text/std_text_prepend.proto.json index 64d2ce1..f16ef9d 100644 --- a/definitions/standard/runtime_definition/text/std_text_prepend.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_prepend.proto.json @@ -1,77 +1,71 @@ { - "runtimeName": "std::text::prepend", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Original Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The base text that will have another text prepended to its beginning." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "prefix", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Prefix" - } - ], - "description": [ - { - "code": "en-US", - "content": "The text that will be added to the start of the original text." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Prepend Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a new text consisting of the specified prefix followed by the original text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "prepend;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Prepend ${value} with ${prefix}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::prepend", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Original Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The base text that will have another text prepended to its beginning." + } + ], + "documentation": [] + }, + { + "runtimeName": "prefix", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Prefix" + } + ], + "description": [ + { + "code": "en-US", + "content": "The text that will be added to the start of the original text." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Prepend Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a new text consisting of the specified prefix followed by the original text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "prepend;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Prepend ${value} with ${prefix}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, prefix: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_remove.proto.json b/definitions/standard/runtime_definition/text/std_text_remove.proto.json index 6e043f2..c788a17 100644 --- a/definitions/standard/runtime_definition/text/std_text_remove.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_remove.proto.json @@ -1,102 +1,94 @@ { - "runtimeName": "std::text::remove", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input text from which a subtext will be removed." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "start", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Start Index" - } - ], - "description": [ - { - "code": "en-US", - "content": "The starting position for removing characters from the text." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "NUMBER" - }, - "runtimeName": "end", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "End Index" - } - ], - "description": [ - { - "code": "en-US", - "content": "The zero-based index where removal ends (exclusive)." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "The position just after the last character to be removed." - } - ] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Remove String" - } - ], - "description": [ - { - "code": "en-US", - "content": "Removes the subtext between the specified start and end indices from the input text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "remove;delete;strip;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Remove ${value} from ${start}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::remove", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input text from which a subtext will be removed." + } + ], + "documentation": [] + }, + { + "runtimeName": "start", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Start Index" + } + ], + "description": [ + { + "code": "en-US", + "content": "The starting position for removing characters from the text." + } + ], + "documentation": [] + }, + { + "runtimeName": "end", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "End Index" + } + ], + "description": [ + { + "code": "en-US", + "content": "The zero-based index where removal ends (exclusive)." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "The position just after the last character to be removed." + } + ] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Remove String" + } + ], + "description": [ + { + "code": "en-US", + "content": "Removes the subtext between the specified start and end indices from the input text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "remove;delete;strip;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Remove ${value} from ${start}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, start: NUMBER, end: NUMBER) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_replace.proto.json b/definitions/standard/runtime_definition/text/std_text_replace.proto.json index 5be1a45..67fecf8 100644 --- a/definitions/standard/runtime_definition/text/std_text_replace.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_replace.proto.json @@ -1,97 +1,88 @@ { - "runtimeName": "std::text::replace", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Original Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "This is the text in which all occurrences of the old subtext will be replaced." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "old", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Old Subtext" - } - ], - "documentation": [], - "description": [ - { - "code": "en-US", - "content": "All occurrences of this subtext in the original text will be replaced." - } - ] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "new", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "New Subtext" - } - ], - "description": [ - { - "code": "en-US", - "content": "This subtext will replace each occurrence of the old subtext." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Replace Subtext" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a new text where every instance of the old subtext is replaced by the new subtext." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "replace;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Replace ${old} with ${new} Inside ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::replace", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Original Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "This is the text in which all occurrences of the old subtext will be replaced." + } + ], + "documentation": [] + }, + { + "runtimeName": "old", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Old Subtext" + } + ], + "documentation": [], + "description": [ + { + "code": "en-US", + "content": "All occurrences of this subtext in the original text will be replaced." + } + ] + }, + { + "runtimeName": "new", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "New Subtext" + } + ], + "description": [ + { + "code": "en-US", + "content": "This subtext will replace each occurrence of the old subtext." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Replace Subtext" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a new text where every instance of the old subtext is replaced by the new subtext." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "replace;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Replace ${old} with ${new} Inside ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, old: TEXT, new: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_replace_first.proto.json b/definitions/standard/runtime_definition/text/std_text_replace_first.proto.json index a384431..bc58e73 100644 --- a/definitions/standard/runtime_definition/text/std_text_replace_first.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_replace_first.proto.json @@ -1,102 +1,93 @@ { - "runtimeName": "std::text::replace_first", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Original Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "This text contains the subtext that will be replaced only once—the first occurrence." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "old", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Old Subtext" - } - ], - "description": [ - { - "code": "en-US", - "content": "Only the first occurrence of this subtext will be replaced in the original text." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "new", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "New Subtext" - } - ], - "description": [ - { - "code": "en-US", - "content": "This subtext will replace only the first occurrence of the old subtext." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Replace First Subtext" - } - ], - "description": [ - { - "code": "en-US", - "content": "Replaces the first occurrence of a specified subtext with another subtext in the input text." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "Returns a new text where only the first instance of the old subtext is replaced by the new subtext." - } - ], - "alias": [ - { - "code": "en-US", - "content": "replace_first;text;string;std;replace;first" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "In ${value} replace first ${old} with ${new}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::replace_first", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Original Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "This text contains the subtext that will be replaced only once—the first occurrence." + } + ], + "documentation": [] + }, + { + "runtimeName": "old", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Old Subtext" + } + ], + "description": [ + { + "code": "en-US", + "content": "Only the first occurrence of this subtext will be replaced in the original text." + } + ], + "documentation": [] + }, + { + "runtimeName": "new", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "New Subtext" + } + ], + "description": [ + { + "code": "en-US", + "content": "This subtext will replace only the first occurrence of the old subtext." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Replace First Subtext" + } + ], + "description": [ + { + "code": "en-US", + "content": "Replaces the first occurrence of a specified subtext with another subtext in the input text." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "Returns a new text where only the first instance of the old subtext is replaced by the new subtext." + } + ], + "alias": [ + { + "code": "en-US", + "content": "replace_first;text;string;std;replace;first" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "In ${value} replace first ${old} with ${new}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, old: TEXT, new: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_replace_last.proto.json b/definitions/standard/runtime_definition/text/std_text_replace_last.proto.json index 0b661cd..6bdf27f 100644 --- a/definitions/standard/runtime_definition/text/std_text_replace_last.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_replace_last.proto.json @@ -1,97 +1,88 @@ { - "runtimeName": "std::text::replace_last", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Original Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "This text contains the subtext that will be replaced only once—the last occurrence." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "old", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Old Subtext" - } - ], - "description": [ - { - "code": "en-US", - "content": "Only the last occurrence of this subtext will be replaced in the original text." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "new", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "New Subtext" - } - ], - "description": [ - { - "code": "en-US", - "content": "This subtext will replace only the last occurrence of the old subtext." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Replace Last Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Replaces the last occurrence of a specified subtext with another subtext in the input text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "replace_last;text;string;std;replace;last" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "In ${value} replace the last ${old} with ${new}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::replace_last", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Original Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "This text contains the subtext that will be replaced only once—the last occurrence." + } + ], + "documentation": [] + }, + { + "runtimeName": "old", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Old Subtext" + } + ], + "description": [ + { + "code": "en-US", + "content": "Only the last occurrence of this subtext will be replaced in the original text." + } + ], + "documentation": [] + }, + { + "runtimeName": "new", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "New Subtext" + } + ], + "description": [ + { + "code": "en-US", + "content": "This subtext will replace only the last occurrence of the old subtext." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Replace Last Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Replaces the last occurrence of a specified subtext with another subtext in the input text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "replace_last;text;string;std;replace;last" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "In ${value} replace the last ${old} with ${new}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, old: TEXT, new: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_reverse.proto.json b/definitions/standard/runtime_definition/text/std_text_reverse.proto.json index 54bc53e..8d1a89b 100644 --- a/definitions/standard/runtime_definition/text/std_text_reverse.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_reverse.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::text::reverse", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input text to be reversed." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Reverse Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a new text with the characters of the input text in reverse order." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "reverse;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Reverse ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::reverse", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input text to be reversed." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Reverse Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a new text with the characters of the input text in reverse order." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "reverse;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Reverse ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_split.proto.json b/definitions/standard/runtime_definition/text/std_text_split.proto.json index 1d7ece5..1fb8664 100644 --- a/definitions/standard/runtime_definition/text/std_text_split.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_split.proto.json @@ -1,90 +1,72 @@ { - "runtimeName": "std::text::split", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input text to be split." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "delimiter", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Delimiter" - } - ], - "description": [ - { - "code": "en-US", - "content": "The delimiter text to split the text by." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "dataTypeIdentifier": "TEXT" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Split" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a list of subtext obtained by splitting the input text at each occurrence of the delimiter." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "split;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Splits ${value} on '${delimiter}'" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::split", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input text to be split." + } + ], + "documentation": [] + }, + { + "runtimeName": "delimiter", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Delimiter" + } + ], + "description": [ + { + "code": "en-US", + "content": "The delimiter text to split the text by." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Split" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a list of subtext obtained by splitting the input text at each occurrence of the delimiter." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "split;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Splits ${value} on '${delimiter}'" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, delimiter: TEXT) => LIST", + "linkedDataTypeIdentifiers": [ + "TEXT", + "LIST" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_start_with.proto.json b/definitions/standard/runtime_definition/text/std_text_start_with.proto.json index 06b7aca..92be485 100644 --- a/definitions/standard/runtime_definition/text/std_text_start_with.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_start_with.proto.json @@ -1,77 +1,72 @@ { - "runtimeName": "std::text::start_with", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input text to check." - } - ], - "documentation": [] - }, - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "prefix", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Prefix" - } - ], - "description": [ - { - "code": "en-US", - "content": "The prefix to test against the input text." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "BOOLEAN" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Starts With" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns true if the input text begins with the given prefix. Otherwise, returns false." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "text;string;std;start;with" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Check if ${value} starts with ${prefix}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::start_with", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input text to check." + } + ], + "documentation": [] + }, + { + "runtimeName": "prefix", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Prefix" + } + ], + "description": [ + { + "code": "en-US", + "content": "The prefix to test against the input text." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Starts With" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns true if the input text begins with the given prefix. Otherwise, returns false." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "text;string;std;start;with" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Check if ${value} starts with ${prefix}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT, prefix: TEXT) => BOOLEAN", + "linkedDataTypeIdentifiers": [ + "TEXT", + "BOOLEAN" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_swapcase.proto.json b/definitions/standard/runtime_definition/text/std_text_swapcase.proto.json index 4fe48e0..d0c081c 100644 --- a/definitions/standard/runtime_definition/text/std_text_swapcase.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_swapcase.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::text::swapcase", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Swaps the case of each letter in the input text: uppercase letters become lowercase, and vice versa." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Swap Case" - } - ], - "description": [ - { - "code": "en-US", - "content": "Converts uppercase letters to lowercase and lowercase letters to uppercase in the given text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "swapcase;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Swapcase of ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::swapcase", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Swaps the case of each letter in the input text: uppercase letters become lowercase, and vice versa." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Swap Case" + } + ], + "description": [ + { + "code": "en-US", + "content": "Converts uppercase letters to lowercase and lowercase letters to uppercase in the given text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "swapcase;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Swapcase of ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_to_ascii.proto.json b/definitions/standard/runtime_definition/text/std_text_to_ascii.proto.json index 1770ecc..d7f78ab 100644 --- a/definitions/standard/runtime_definition/text/std_text_to_ascii.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_to_ascii.proto.json @@ -1,70 +1,56 @@ { - "runtimeName": "std::text::to_ascii", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Input text to convert to ASCII codes." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "genericType": { - "dataTypeIdentifier": "LIST", - "genericMappers": [ - { - "source": [ - { - "dataTypeIdentifier": "NUMBER" - } - ], - "target": "T", - "genericCombinations": [] - } - ] - } - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Text to ASCII" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a list of numbers where each number represents the ASCII code of the corresponding character in the input text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "to_ascii;text;string;std;to;ascii" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "${value} To Ascii" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::to_ascii", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Input text to convert to ASCII codes." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Text to ASCII" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a list of numbers where each number represents the ASCII code of the corresponding character in the input text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "to_ascii;text;string;std;to;ascii" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "${value} To Ascii" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT) => LIST", + "linkedDataTypeIdentifiers": [ + "TEXT", + "LIST", + "NUMBER" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_trim.proto.json b/definitions/standard/runtime_definition/text/std_text_trim.proto.json index 8c821ce..cb5d2f0 100644 --- a/definitions/standard/runtime_definition/text/std_text_trim.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_trim.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::text::trim", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "The input text from which leading and trailing whitespace characters will be removed." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Trim Text" - } - ], - "description": [ - { - "code": "en-US", - "content": "Returns a new text with all leading and trailing whitespace characters removed from the input text." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "trim;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Trim ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::trim", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "The input text from which leading and trailing whitespace characters will be removed." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Trim Text" + } + ], + "description": [ + { + "code": "en-US", + "content": "Returns a new text with all leading and trailing whitespace characters removed from the input text." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "trim;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Trim ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT" + ] } diff --git a/definitions/standard/runtime_definition/text/std_text_uppercase.proto.json b/definitions/standard/runtime_definition/text/std_text_uppercase.proto.json index 1e0897a..93bf392 100644 --- a/definitions/standard/runtime_definition/text/std_text_uppercase.proto.json +++ b/definitions/standard/runtime_definition/text/std_text_uppercase.proto.json @@ -1,57 +1,54 @@ { - "runtimeName": "std::text::uppercase", - "runtimeParameterDefinitions": [ - { - "dataTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "runtimeName": "value", - "defaultValue": null, - "name": [ - { - "code": "en-US", - "content": "Text Value" - } - ], - "description": [ - { - "code": "en-US", - "content": "Converts all characters in the input text to uppercase." - } - ], - "documentation": [] - } - ], - "returnTypeIdentifier": { - "dataTypeIdentifier": "TEXT" - }, - "throwsError": false, - "genericKeys": [], - "name": [ - { - "code": "en-US", - "content": "Uppercase" - } - ], - "description": [ - { - "code": "en-US", - "content": "Transforms all letters in the text to their uppercase equivalents." - } - ], - "documentation": [], - "alias": [ - { - "code": "en-US", - "content": "uppercase;text;string;std" - } - ], - "displayMessage": [ - { - "code": "en-US", - "content": "Uppercase ${value}" - } - ], - "deprecationMessage": [], - "displayIcon": "tabler:abc" + "runtimeName": "std::text::uppercase", + "runtimeParameterDefinitions": [ + { + "runtimeName": "value", + "defaultValue": null, + "name": [ + { + "code": "en-US", + "content": "Text Value" + } + ], + "description": [ + { + "code": "en-US", + "content": "Converts all characters in the input text to uppercase." + } + ], + "documentation": [] + } + ], + "throwsError": false, + "name": [ + { + "code": "en-US", + "content": "Uppercase" + } + ], + "description": [ + { + "code": "en-US", + "content": "Transforms all letters in the text to their uppercase equivalents." + } + ], + "documentation": [], + "alias": [ + { + "code": "en-US", + "content": "uppercase;text;string;std" + } + ], + "displayMessage": [ + { + "code": "en-US", + "content": "Uppercase ${value}" + } + ], + "deprecationMessage": [], + "displayIcon": "tabler:abc", + "signature": "(value: TEXT) => TEXT", + "linkedDataTypeIdentifiers": [ + "TEXT" + ] }