1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-runtime-contracts/src/connection_schema.rs
Items
enum FieldType impl FieldType enum ValueSource struct FieldSchema impl FieldSchema enum ToolTier impl ToolTier struct ConnectionSchema impl ConnectionSchema const EXACT_FIELD_TYPES const SUFFIX_FIELD_TYPES const PREFIX_FIELD_TYPES const VALUE_ACTION_WORDS const WRITE_ACTION_WORDS const READ_ACTION_WORDS const SCHEMA const LAT static INPUT const SCHEMA const UPDATE
Functions
By call-graph weight (PageRank; 1.0 is the average function). 53 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| infer_field_typesrc/connection_schema.rs:612 | fn | 16 | 5 | 9 | 0 | 4.8 | |
| FieldSchema::newsrc/connection_schema.rs:137 | method | 15 | 1 | 6 | 0 | 3.4 | |
| ConnectionSchema::with_inputsrc/connection_schema.rs:336 | method | 4 | 1 | 3 | 0 | 2.4 | |
| coerce_literalsrc/connection_schema.rs:856 | fn | 27 | 8 | 3 | 0 | 1.6 | |
| action_wordssrc/connection_schema.rs:803 | fn | 21 | 8 | 2 | 0 | 1.4 | |
| ConnectionSchema::fieldsrc/connection_schema.rs:366 | method | 3 | 1 | 2 | 0 | 1.1 | |
| tier_from_connection_idsrc/connection_schema.rs:846 | fn | 7 | 2 | 2 | 2 | 1.1 | |
| FieldType::json_typesrc/connection_schema.rs:39 | method | 10 | 6 | 1 | 0 | 1.1 | |
| FieldType::of_jsonsrc/connection_schema.rs:52 | method | 12 | 8 | 2 | 0 | 1 | |
| tier_of_wordsrc/connection_schema.rs:825 | fn | 11 | 4 | 1 | 0 | 1 | |
| FieldSchema::numbersrc/connection_schema.rs:161 | method | 3 | 1 | 1 | 1 | 0.9 | |
| ToolTier::parsesrc/connection_schema.rs:270 | method | 9 | 5 | 1 | 0 | 0.9 | |
| FieldType::parsesrc/connection_schema.rs:67 | method | 11 | 7 | 1 | 0 | 0.6 | |
| FieldSchema::stringsrc/connection_schema.rs:153 | method | 3 | 1 | 0 | 1 | 0.5 | |
| FieldSchema::integersrc/connection_schema.rs:157 | method | 3 | 1 | 0 | 1 | 0.5 | |
| FieldSchema::booleansrc/connection_schema.rs:165 | method | 3 | 1 | 0 | 1 | 0.5 | |
| FieldSchema::objectsrc/connection_schema.rs:169 | method | 3 | 1 | 0 | 1 | 0.5 | |
| FieldSchema::arraysrc/connection_schema.rs:173 | method | 3 | 1 | 0 | 1 | 0.5 | |
| FieldSchema::describedsrc/connection_schema.rs:177 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldSchema::allowingsrc/connection_schema.rs:182 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldSchema::examplesrc/connection_schema.rs:187 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldSchema::defaults_tosrc/connection_schema.rs:192 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldSchema::labelledsrc/connection_schema.rs:197 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldSchema::formatsrc/connection_schema.rs:202 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldSchema::from_routesrc/connection_schema.rs:207 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldSchema::fixedsrc/connection_schema.rs:213 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldSchema::from_callersrc/connection_schema.rs:218 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldSchema::from_serversrc/connection_schema.rs:223 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldSchema::at_leastsrc/connection_schema.rs:229 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldSchema::at_mostsrc/connection_schema.rs:235 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ToolTier::labelsrc/connection_schema.rs:261 | method | 8 | 4 | 0 | 0 | 0.5 | |
| ToolTier::is_consequentialsrc/connection_schema.rs:281 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ConnectionSchema::newsrc/connection_schema.rs:318 | method | 12 | 1 | 0 | 0 | 0.5 | |
| ConnectionSchema::describedsrc/connection_schema.rs:331 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ConnectionSchema::tiersrc/connection_schema.rs:341 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ConnectionSchema::owner_gatedsrc/connection_schema.rs:346 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ConnectionSchema::createssrc/connection_schema.rs:351 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ConnectionSchema::updatessrc/connection_schema.rs:356 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ConnectionSchema::verified_callersrc/connection_schema.rs:361 | method | 4 | 1 | 0 | 0 | 0.5 | |
| exact_names_beat_suffix_rulessrc/connection_schema.rs:889 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| suffix_rules_are_longest_first_within_familysrc/connection_schema.rs:896 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| prefix_rules_cover_boolean_flagssrc/connection_schema.rs:905 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| unknown_names_stay_unknown_rather_than_guessing_stringsrc/connection_schema.rs:912 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| common_runtime_field_names_are_known_strings_not_fallbackssrc/connection_schema.rs:922 | fn | 8 | 2 | 0 | 1 | 0.5 | |
| measurement_units_read_as_numbers_and_auto_flags_as_booleanssrc/connection_schema.rs:932 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| action_words_split_camel_and_snakesrc/connection_schema.rs:943 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| tier_from_id_raises_to_the_most_consequential_wordsrc/connection_schema.rs:950 | fn | 15 | 1 | 0 | 1 | 0.5 | |
| tier_ordering_supports_max_fusionsrc/connection_schema.rs:967 | fn | 6 | 1 | 0 | 0 | 0.5 | |
| field_schema_builders_are_constsrc/connection_schema.rs:975 | fn | 12 | 1 | 0 | 0 | 0.5 | |
| numeric_bounds_are_const_and_serialize_only_when_declaredsrc/connection_schema.rs:989 | fn | 8 | 2 | 0 | 1 | 0.5 | |
| connection_schema_builders_are_constsrc/connection_schema.rs:999 | fn | 16 | 1 | 0 | 1 | 0.5 | |
| literals_coerce_into_their_declared_typesrc/connection_schema.rs:1017 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| json_values_map_back_to_field_typessrc/connection_schema.rs:1028 | fn | 6 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.