From 0ca57ba6de6e6299542f370becae591af81e88b8 Mon Sep 17 00:00:00 2001 From: "kaosat.dev" Date: Sun, 5 May 2024 22:04:25 +0200 Subject: [PATCH] feat(bevy_components): continued refactor to use long names instead of short names & co * changed all various uses of short name to long_name * same for type_names * also changed bevy_registry_export to output "long_name" instead of "title" for coherence * related changes & tweaks * still WIP --- .../bevy_registry_export/src/export_types.rs | 29 +- testing/bevy_example/assets/registry.json | 2572 ++++++++--------- tools/bevy_components/TODO.md | 5 +- tools/bevy_components/__init__.py | 13 - tools/bevy_components/components/metadata.py | 48 +- tools/bevy_components/components/operators.py | 4 +- tools/bevy_components/components/ui.py | 11 +- .../propGroups/conversions_from_prop_group.py | 66 +- .../propGroups/conversions_to_prop_group.py | 45 +- .../propGroups/process_component.py | 15 +- .../propGroups/process_enum.py | 6 +- .../propGroups/process_list.py | 11 +- .../bevy_components/propGroups/process_map.py | 20 +- .../propGroups/process_structs.py | 24 +- .../propGroups/process_tupples.py | 18 +- tools/bevy_components/propGroups/utils.py | 4 +- tools/bevy_components/registry/registry.py | 36 +- tools/bevy_components/registry/ui.py | 10 +- .../tests/component_values_shuffler.py | 34 +- tools/bevy_components/tests/setup_data.py | 4 +- .../bevy_components/tests/test_components.py | 24 +- 21 files changed, 1460 insertions(+), 1539 deletions(-) diff --git a/crates/bevy_registry_export/src/export_types.rs b/crates/bevy_registry_export/src/export_types.rs index 8a06ebf..21abdfd 100644 --- a/crates/bevy_registry_export/src/export_types.rs +++ b/crates/bevy_registry_export/src/export_types.rs @@ -28,7 +28,7 @@ pub fn export_types(world: &mut World) { writer, &json!({ "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "bevy component registry schema", + "long_name": "bevy component registry schema", "$defs": schemas, }), ) @@ -41,6 +41,7 @@ pub fn export_type(reg: &TypeRegistration) -> (String, Value) { let t = reg.type_info(); let binding = t.type_path_table(); let short_name = binding.short_path(); + println!("T YOOO {:?}", t); let mut schema = match t { TypeInfo::Struct(info) => { let properties = info @@ -57,7 +58,7 @@ pub fn export_type(reg: &TypeRegistration) -> (String, Value) { json!({ "type": "object", "typeInfo": "Struct", - "title": t.type_path(), + "long_name": t.type_path(), "properties": properties, "additionalProperties": false, "required": info @@ -75,7 +76,7 @@ pub fn export_type(reg: &TypeRegistration) -> (String, Value) { json!({ "type": "string", "typeInfo": "Enum", - "title": t.type_path(), + "long_name": t.type_path(), "oneOf": info .iter() .map(|variant| match variant { @@ -94,12 +95,12 @@ pub fn export_type(reg: &TypeRegistration) -> (String, Value) { VariantInfo::Struct(v) => json!({ "type": "object", "typeInfo": "Struct", - "title": v.name(), + "long_name": v.name(), "short_name": v.name().split("::").last().unwrap_or(v.name()), "properties": v .iter() .enumerate() - .map(|(variant_idx, field)| (field.name().to_owned(), add_min_max(json!({"type": typ(field.type_path()), "title": field.name()}), reg, field_idx, Some(variant_idx)))) + .map(|(variant_idx, field)| (field.name().to_owned(), add_min_max(json!({"type": typ(field.type_path()), "long_name": field.name()}), reg, field_idx, Some(variant_idx)))) .collect::>(), "additionalProperties": false, "required": v @@ -111,7 +112,7 @@ pub fn export_type(reg: &TypeRegistration) -> (String, Value) { VariantInfo::Tuple(v) => json!({ "type": "array", "typeInfo": "Tuple", - "title": v.name(), + "long_name": v.name(), "short_name":v.name(), "prefixItems": v .iter() @@ -121,7 +122,7 @@ pub fn export_type(reg: &TypeRegistration) -> (String, Value) { "items": false, }), VariantInfo::Unit(v) => json!({ - "title": v.name(), + "long_name": v.name(), }), }) .collect::>(); @@ -129,13 +130,13 @@ pub fn export_type(reg: &TypeRegistration) -> (String, Value) { json!({ "type": "object", "typeInfo": "Enum", - "title": t.type_path(), + "long_name": t.type_path(), "oneOf": variants, }) } } TypeInfo::TupleStruct(info) => json!({ - "title": t.type_path(), + "long_name": t.type_path(), "type": "array", "typeInfo": "TupleStruct", "prefixItems": info @@ -147,26 +148,26 @@ pub fn export_type(reg: &TypeRegistration) -> (String, Value) { }), TypeInfo::List(info) => { json!({ - "title": t.type_path(), + "long_name": t.type_path(), "type": "array", "typeInfo": "List", "items": json!({"type": typ(info.item_type_path_table().path())}), }) } TypeInfo::Array(info) => json!({ - "title": t.type_path(), + "long_name": t.type_path(), "type": "array", "typeInfo": "Array", "items": json!({"type": typ(info.item_type_path_table().path())}), }), TypeInfo::Map(info) => json!({ - "title": t.type_path(), + "long_name": t.type_path(), "type": "object", "typeInfo": "Map", "additionalProperties": json!({"type": typ(info.value_type_path_table().path())}), }), TypeInfo::Tuple(info) => json!({ - "title": t.type_path(), + "long_name": t.type_path(), "type": "array", "typeInfo": "Tuple", "prefixItems": info @@ -177,7 +178,7 @@ pub fn export_type(reg: &TypeRegistration) -> (String, Value) { "items": false, }), TypeInfo::Value(info) => json!({ - "title": t.type_path(), + "long_name": t.type_path(), "type": map_json_type(info.type_path()), "typeInfo": "Value", }), diff --git a/testing/bevy_example/assets/registry.json b/testing/bevy_example/assets/registry.json index 21ede9c..0300730 100644 --- a/testing/bevy_example/assets/registry.json +++ b/testing/bevy_example/assets/registry.json @@ -4,6 +4,7 @@ "isComponent": false, "isResource": false, "items": false, + "long_name": "(f32, f32)", "prefixItems": [ { "type": { @@ -17,31 +18,30 @@ } ], "short_name": "(f32, f32)", - "title": "(f32, f32)", "type": "array", "typeInfo": "Tuple" }, "alloc::borrow::Cow": { "isComponent": false, "isResource": false, + "long_name": "alloc::borrow::Cow", "short_name": "Cow", - "title": "alloc::borrow::Cow", "type": "object", "typeInfo": "Value" }, "alloc::borrow::Cow": { "isComponent": false, "isResource": false, + "long_name": "alloc::borrow::Cow", "short_name": "Cow", - "title": "alloc::borrow::Cow", "type": "object", "typeInfo": "Value" }, "alloc::string::String": { "isComponent": false, "isResource": false, + "long_name": "alloc::string::String", "short_name": "String", - "title": "alloc::string::String", "type": "string", "typeInfo": "Value" }, @@ -53,8 +53,8 @@ "$ref": "#/$defs/(f32, f32)" } }, + "long_name": "alloc::vec::Vec<(f32, f32)>", "short_name": "Vec<(f32, f32)>", - "title": "alloc::vec::Vec<(f32, f32)>", "type": "array", "typeInfo": "List" }, @@ -66,8 +66,8 @@ "$ref": "#/$defs/alloc::string::String" } }, + "long_name": "alloc::vec::Vec", "short_name": "Vec", - "title": "alloc::vec::Vec", "type": "array", "typeInfo": "List" }, @@ -79,8 +79,8 @@ "$ref": "#/$defs/bevy_animation::VariableCurve" } }, + "long_name": "alloc::vec::Vec", "short_name": "Vec", - "title": "alloc::vec::Vec", "type": "array", "typeInfo": "List" }, @@ -92,8 +92,8 @@ "$ref": "#/$defs/bevy_ecs::entity::Entity" } }, + "long_name": "alloc::vec::Vec", "short_name": "Vec", - "title": "alloc::vec::Vec", "type": "array", "typeInfo": "List" }, @@ -105,8 +105,8 @@ "$ref": "#/$defs/bevy_example::test_components::TupleVec3" } }, + "long_name": "alloc::vec::Vec", "short_name": "Vec", - "title": "alloc::vec::Vec", "type": "array", "typeInfo": "List" }, @@ -118,8 +118,8 @@ "$ref": "#/$defs/bevy_gltf_blueprints::animation::AnimationInfo" } }, + "long_name": "alloc::vec::Vec", "short_name": "Vec", - "title": "alloc::vec::Vec", "type": "array", "typeInfo": "List" }, @@ -131,8 +131,8 @@ "$ref": "#/$defs/bevy_render::color::Color" } }, + "long_name": "alloc::vec::Vec", "short_name": "Vec", - "title": "alloc::vec::Vec", "type": "array", "typeInfo": "List" }, @@ -144,8 +144,8 @@ "$ref": "#/$defs/bevy_text::text::TextSection" } }, + "long_name": "alloc::vec::Vec", "short_name": "Vec", - "title": "alloc::vec::Vec", "type": "array", "typeInfo": "List" }, @@ -157,8 +157,8 @@ "$ref": "#/$defs/f32" } }, + "long_name": "alloc::vec::Vec", "short_name": "Vec", - "title": "alloc::vec::Vec", "type": "array", "typeInfo": "List" }, @@ -170,8 +170,8 @@ "$ref": "#/$defs/glam::Quat" } }, + "long_name": "alloc::vec::Vec", "short_name": "Vec", - "title": "alloc::vec::Vec", "type": "array", "typeInfo": "List" }, @@ -183,8 +183,8 @@ "$ref": "#/$defs/glam::Vec3" } }, + "long_name": "alloc::vec::Vec", "short_name": "Vec", - "title": "alloc::vec::Vec", "type": "array", "typeInfo": "List" }, @@ -192,6 +192,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_animation::AnimationClip", "properties": { "curves": { "type": { @@ -215,7 +216,6 @@ "duration" ], "short_name": "AnimationClip", - "title": "bevy_animation::AnimationClip", "type": "object", "typeInfo": "Struct" }, @@ -223,6 +223,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_animation::AnimationPlayer", "properties": { "animation": { "type": { @@ -240,29 +241,30 @@ "animation" ], "short_name": "AnimationPlayer", - "title": "bevy_animation::AnimationPlayer", "type": "object", "typeInfo": "Struct" }, "bevy_animation::Interpolation": { "isComponent": false, "isResource": false, + "long_name": "bevy_animation::Interpolation", "oneOf": [ "Linear", "Step", "CubicSpline" ], "short_name": "Interpolation", - "title": "bevy_animation::Interpolation", "type": "string", "typeInfo": "Enum" }, "bevy_animation::Keyframes": { "isComponent": false, "isResource": false, + "long_name": "bevy_animation::Keyframes", "oneOf": [ { "items": false, + "long_name": "Rotation", "prefixItems": [ { "type": { @@ -271,12 +273,12 @@ } ], "short_name": "Rotation", - "title": "Rotation", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Translation", "prefixItems": [ { "type": { @@ -285,12 +287,12 @@ } ], "short_name": "Translation", - "title": "Translation", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Scale", "prefixItems": [ { "type": { @@ -299,12 +301,12 @@ } ], "short_name": "Scale", - "title": "Scale", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weights", "prefixItems": [ { "type": { @@ -313,13 +315,11 @@ } ], "short_name": "Weights", - "title": "Weights", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Keyframes", - "title": "bevy_animation::Keyframes", "type": "object", "typeInfo": "Enum" }, @@ -327,6 +327,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_animation::VariableCurve", "properties": { "interpolation": { "type": { @@ -350,16 +351,17 @@ "interpolation" ], "short_name": "VariableCurve", - "title": "bevy_animation::VariableCurve", "type": "object", "typeInfo": "Struct" }, "bevy_asset::handle::Handle<()>": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle<()>", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -368,12 +370,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -382,22 +384,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle<()>", - "title": "bevy_asset::handle::Handle<()>", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -406,12 +408,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -420,22 +422,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -444,12 +446,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -458,22 +460,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -482,12 +484,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -496,22 +498,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -520,12 +522,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -534,22 +536,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -558,12 +560,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -572,22 +574,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -596,12 +598,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -610,22 +612,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -634,12 +636,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -648,22 +650,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -672,12 +674,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -686,22 +688,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -710,12 +712,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -724,22 +726,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -748,12 +750,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -762,22 +764,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -786,12 +788,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -800,22 +802,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle>": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle>", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -824,12 +826,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -838,22 +840,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle>", - "title": "bevy_asset::handle::Handle>", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -862,12 +864,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -876,22 +878,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -900,12 +902,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -914,22 +916,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -938,12 +940,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -952,22 +954,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -976,12 +978,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -990,22 +992,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -1014,12 +1016,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -1028,22 +1030,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -1052,12 +1054,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -1066,22 +1068,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -1090,12 +1092,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -1104,22 +1106,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -1128,12 +1130,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -1142,22 +1144,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -1166,12 +1168,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -1180,22 +1182,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -1204,12 +1206,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -1218,22 +1220,22 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, + "long_name": "bevy_asset::handle::Handle", "oneOf": [ { "items": false, + "long_name": "Strong", "prefixItems": [ { "type": { @@ -1242,12 +1244,12 @@ } ], "short_name": "Strong", - "title": "Strong", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Weak", "prefixItems": [ { "type": { @@ -1256,25 +1258,25 @@ } ], "short_name": "Weak", - "title": "Weak", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Handle", - "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId<()>": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId<()>", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1284,15 +1286,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1302,25 +1304,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId<()>", - "title": "bevy_asset::id::AssetId<()>", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1330,15 +1332,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1348,25 +1350,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1376,15 +1378,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1394,25 +1396,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1422,15 +1424,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1440,25 +1442,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1468,15 +1470,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1486,25 +1488,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1514,15 +1516,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1532,25 +1534,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1560,15 +1562,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1578,25 +1580,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1606,15 +1608,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1624,25 +1626,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1652,15 +1654,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1670,25 +1672,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1698,15 +1700,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1716,25 +1718,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1744,15 +1746,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1762,25 +1764,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1790,15 +1792,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1808,25 +1810,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId>": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId>", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1836,15 +1838,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1854,25 +1856,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId>", - "title": "bevy_asset::id::AssetId>", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1882,15 +1884,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1900,25 +1902,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1928,15 +1930,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1946,25 +1948,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -1974,15 +1976,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -1992,25 +1994,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -2020,15 +2022,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -2038,25 +2040,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -2066,15 +2068,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -2084,25 +2086,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -2112,15 +2114,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -2130,25 +2132,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -2158,15 +2160,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -2176,25 +2178,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -2204,15 +2206,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -2222,25 +2224,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -2250,15 +2252,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -2268,25 +2270,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -2296,15 +2298,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -2314,25 +2316,25 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::id::AssetId", "oneOf": [ { "additionalProperties": false, + "long_name": "Index", "properties": { "index": { - "title": "index", + "long_name": "index", "type": { "$ref": "#/$defs/bevy_asset::assets::AssetIndex" } @@ -2342,15 +2344,15 @@ "index" ], "short_name": "Index", - "title": "Index", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Uuid", "properties": { "uuid": { - "title": "uuid", + "long_name": "uuid", "type": { "$ref": "#/$defs/bevy_utils::Uuid" } @@ -2360,21 +2362,19 @@ "uuid" ], "short_name": "Uuid", - "title": "Uuid", "type": "object", "typeInfo": "Struct" } ], "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, "bevy_asset::path::AssetPath<'static>": { "isComponent": false, "isResource": false, + "long_name": "bevy_asset::path::AssetPath<'static>", "short_name": "AssetPath<'static>", - "title": "bevy_asset::path::AssetPath<'static>", "type": "object", "typeInfo": "Value" }, @@ -2382,6 +2382,7 @@ "isComponent": false, "isResource": true, "items": false, + "long_name": "bevy_audio::audio::DefaultSpatialScale", "prefixItems": [ { "type": { @@ -2390,7 +2391,6 @@ } ], "short_name": "DefaultSpatialScale", - "title": "bevy_audio::audio::DefaultSpatialScale", "type": "array", "typeInfo": "TupleStruct" }, @@ -2398,6 +2398,7 @@ "additionalProperties": false, "isComponent": false, "isResource": true, + "long_name": "bevy_audio::audio::GlobalVolume", "properties": { "volume": { "type": { @@ -2409,13 +2410,13 @@ "volume" ], "short_name": "GlobalVolume", - "title": "bevy_audio::audio::GlobalVolume", "type": "object", "typeInfo": "Struct" }, "bevy_audio::audio::PlaybackMode": { "isComponent": false, "isResource": false, + "long_name": "bevy_audio::audio::PlaybackMode", "oneOf": [ "Once", "Loop", @@ -2423,7 +2424,6 @@ "Remove" ], "short_name": "PlaybackMode", - "title": "bevy_audio::audio::PlaybackMode", "type": "string", "typeInfo": "Enum" }, @@ -2431,6 +2431,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_audio::audio::PlaybackSettings", "properties": { "mode": { "type": { @@ -2471,7 +2472,6 @@ "spatial" ], "short_name": "PlaybackSettings", - "title": "bevy_audio::audio::PlaybackSettings", "type": "object", "typeInfo": "Struct" }, @@ -2479,6 +2479,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_audio::audio::SpatialListener", "properties": { "left_ear_offset": { "type": { @@ -2496,7 +2497,6 @@ "right_ear_offset" ], "short_name": "SpatialListener", - "title": "bevy_audio::audio::SpatialListener", "type": "object", "typeInfo": "Struct" }, @@ -2504,6 +2504,7 @@ "isComponent": false, "isResource": false, "items": false, + "long_name": "bevy_audio::audio::Volume", "prefixItems": [ { "type": { @@ -2512,7 +2513,6 @@ } ], "short_name": "Volume", - "title": "bevy_audio::audio::Volume", "type": "array", "typeInfo": "TupleStruct" }, @@ -2520,6 +2520,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_core::name::Name", "properties": { "hash": { "type": { @@ -2537,19 +2538,18 @@ "name" ], "short_name": "Name", - "title": "bevy_core::name::Name", "type": "object", "typeInfo": "Struct" }, "bevy_core_pipeline::bloom::settings::BloomCompositeMode": { "isComponent": false, "isResource": false, + "long_name": "bevy_core_pipeline::bloom::settings::BloomCompositeMode", "oneOf": [ "EnergyConserving", "Additive" ], "short_name": "BloomCompositeMode", - "title": "bevy_core_pipeline::bloom::settings::BloomCompositeMode", "type": "string", "typeInfo": "Enum" }, @@ -2557,6 +2557,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_core_pipeline::bloom::settings::BloomPrefilterSettings", "properties": { "threshold": { "type": { @@ -2574,7 +2575,6 @@ "threshold_softness" ], "short_name": "BloomPrefilterSettings", - "title": "bevy_core_pipeline::bloom::settings::BloomPrefilterSettings", "type": "object", "typeInfo": "Struct" }, @@ -2582,6 +2582,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_core_pipeline::bloom::settings::BloomSettings", "properties": { "composite_mode": { "type": { @@ -2623,7 +2624,6 @@ "composite_mode" ], "short_name": "BloomSettings", - "title": "bevy_core_pipeline::bloom::settings::BloomSettings", "type": "object", "typeInfo": "Struct" }, @@ -2631,6 +2631,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_core_pipeline::contrast_adaptive_sharpening::ContrastAdaptiveSharpeningSettings", "properties": { "denoise": { "type": { @@ -2654,7 +2655,6 @@ "denoise" ], "short_name": "ContrastAdaptiveSharpeningSettings", - "title": "bevy_core_pipeline::contrast_adaptive_sharpening::ContrastAdaptiveSharpeningSettings", "type": "object", "typeInfo": "Struct" }, @@ -2662,10 +2662,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_core_pipeline::core_2d::camera_2d::Camera2d", "properties": {}, "required": [], "short_name": "Camera2d", - "title": "bevy_core_pipeline::core_2d::camera_2d::Camera2d", "type": "object", "typeInfo": "Struct" }, @@ -2673,6 +2673,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_core_pipeline::core_3d::camera_3d::Camera3d", "properties": { "depth_load_op": { "type": { @@ -2702,16 +2703,17 @@ "screen_space_specular_transmission_quality" ], "short_name": "Camera3d", - "title": "bevy_core_pipeline::core_3d::camera_3d::Camera3d", "type": "object", "typeInfo": "Struct" }, "bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthLoadOp": { "isComponent": false, "isResource": false, + "long_name": "bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthLoadOp", "oneOf": [ { "items": false, + "long_name": "Clear", "prefixItems": [ { "type": { @@ -2720,16 +2722,14 @@ } ], "short_name": "Clear", - "title": "Clear", "type": "array", "typeInfo": "Tuple" }, { - "title": "Load" + "long_name": "Load" } ], "short_name": "Camera3dDepthLoadOp", - "title": "bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthLoadOp", "type": "object", "typeInfo": "Enum" }, @@ -2737,6 +2737,7 @@ "isComponent": false, "isResource": false, "items": false, + "long_name": "bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthTextureUsage", "prefixItems": [ { "type": { @@ -2745,13 +2746,13 @@ } ], "short_name": "Camera3dDepthTextureUsage", - "title": "bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthTextureUsage", "type": "array", "typeInfo": "TupleStruct" }, "bevy_core_pipeline::core_3d::camera_3d::ScreenSpaceTransmissionQuality": { "isComponent": false, "isResource": true, + "long_name": "bevy_core_pipeline::core_3d::camera_3d::ScreenSpaceTransmissionQuality", "oneOf": [ "Low", "Medium", @@ -2759,7 +2760,6 @@ "Ultra" ], "short_name": "ScreenSpaceTransmissionQuality", - "title": "bevy_core_pipeline::core_3d::camera_3d::ScreenSpaceTransmissionQuality", "type": "string", "typeInfo": "Enum" }, @@ -2767,6 +2767,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_core_pipeline::fxaa::Fxaa", "properties": { "edge_threshold": { "type": { @@ -2790,7 +2791,6 @@ "edge_threshold_min" ], "short_name": "Fxaa", - "title": "bevy_core_pipeline::fxaa::Fxaa", "type": "object", "typeInfo": "Struct" }, @@ -2798,10 +2798,10 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_core_pipeline::prepass::DeferredPrepass", "properties": {}, "required": [], "short_name": "DeferredPrepass", - "title": "bevy_core_pipeline::prepass::DeferredPrepass", "type": "object", "typeInfo": "Struct" }, @@ -2809,10 +2809,10 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_core_pipeline::prepass::DepthPrepass", "properties": {}, "required": [], "short_name": "DepthPrepass", - "title": "bevy_core_pipeline::prepass::DepthPrepass", "type": "object", "typeInfo": "Struct" }, @@ -2820,10 +2820,10 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_core_pipeline::prepass::MotionVectorPrepass", "properties": {}, "required": [], "short_name": "MotionVectorPrepass", - "title": "bevy_core_pipeline::prepass::MotionVectorPrepass", "type": "object", "typeInfo": "Struct" }, @@ -2831,28 +2831,29 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_core_pipeline::prepass::NormalPrepass", "properties": {}, "required": [], "short_name": "NormalPrepass", - "title": "bevy_core_pipeline::prepass::NormalPrepass", "type": "object", "typeInfo": "Struct" }, "bevy_core_pipeline::tonemapping::DebandDither": { "isComponent": true, "isResource": false, + "long_name": "bevy_core_pipeline::tonemapping::DebandDither", "oneOf": [ "Disabled", "Enabled" ], "short_name": "DebandDither", - "title": "bevy_core_pipeline::tonemapping::DebandDither", "type": "string", "typeInfo": "Enum" }, "bevy_core_pipeline::tonemapping::Tonemapping": { "isComponent": true, "isResource": false, + "long_name": "bevy_core_pipeline::tonemapping::Tonemapping", "oneOf": [ "None", "Reinhard", @@ -2864,7 +2865,6 @@ "BlenderFilmic" ], "short_name": "Tonemapping", - "title": "bevy_core_pipeline::tonemapping::Tonemapping", "type": "string", "typeInfo": "Enum" }, @@ -2872,6 +2872,7 @@ "isComponent": false, "isResource": false, "items": false, + "long_name": "bevy_ecs::component::ComponentId", "prefixItems": [ { "type": { @@ -2880,7 +2881,6 @@ } ], "short_name": "ComponentId", - "title": "bevy_ecs::component::ComponentId", "type": "array", "typeInfo": "TupleStruct" }, @@ -2888,6 +2888,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_ecs::component::ComponentTicks", "properties": { "added": { "type": { @@ -2905,7 +2906,6 @@ "changed" ], "short_name": "ComponentTicks", - "title": "bevy_ecs::component::ComponentTicks", "type": "object", "typeInfo": "Struct" }, @@ -2913,6 +2913,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_ecs::component::Tick", "properties": { "tick": { "type": { @@ -2924,15 +2925,14 @@ "tick" ], "short_name": "Tick", - "title": "bevy_ecs::component::Tick", "type": "object", "typeInfo": "Struct" }, "bevy_ecs::entity::Entity": { "isComponent": false, "isResource": false, + "long_name": "bevy_ecs::entity::Entity", "short_name": "Entity", - "title": "bevy_ecs::entity::Entity", "type": "object", "typeInfo": "Value" }, @@ -2940,6 +2940,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_egui::EguiSettings", "properties": { "default_open_url_target": { "type": { @@ -2956,13 +2957,13 @@ "scale_factor" ], "short_name": "EguiSettings", - "title": "bevy_egui::EguiSettings", "type": "object", "typeInfo": "Struct" }, "bevy_example::dupe_components::EnumTest": { "isComponent": true, "isResource": false, + "long_name": "bevy_example::dupe_components::EnumTest", "oneOf": [ "Metal", "Wood", @@ -2972,7 +2973,6 @@ "None" ], "short_name": "EnumTest", - "title": "bevy_example::dupe_components::EnumTest", "type": "string", "typeInfo": "Enum" }, @@ -2980,10 +2980,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::game::animation::Marker1", "properties": {}, "required": [], "short_name": "Marker1", - "title": "bevy_example::game::animation::Marker1", "type": "object", "typeInfo": "Struct" }, @@ -2991,10 +2991,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::game::animation::Marker2", "properties": {}, "required": [], "short_name": "Marker2", - "title": "bevy_example::game::animation::Marker2", "type": "object", "typeInfo": "Struct" }, @@ -3002,10 +3002,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::game::animation::Marker3", "properties": {}, "required": [], "short_name": "Marker3", - "title": "bevy_example::game::animation::Marker3", "type": "object", "typeInfo": "Struct" }, @@ -3013,10 +3013,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::game::animation::MarkerFox", "properties": {}, "required": [], "short_name": "MarkerFox", - "title": "bevy_example::game::animation::MarkerFox", "type": "object", "typeInfo": "Struct" }, @@ -3024,10 +3024,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::test_components::AComponentWithAnExtremlyExageratedOrMaybeNotButCouldBeNameOrWut", "properties": {}, "required": [], "short_name": "AComponentWithAnExtremlyExageratedOrMaybeNotButCouldBeNameOrWut", - "title": "bevy_example::test_components::AComponentWithAnExtremlyExageratedOrMaybeNotButCouldBeNameOrWut", "type": "object", "typeInfo": "Struct" }, @@ -3035,6 +3035,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::test_components::BasicTest", "properties": { "a": { "type": { @@ -3058,16 +3059,17 @@ "c" ], "short_name": "BasicTest", - "title": "bevy_example::test_components::BasicTest", "type": "object", "typeInfo": "Struct" }, "bevy_example::test_components::EnumComplex": { "isComponent": true, "isResource": false, + "long_name": "bevy_example::test_components::EnumComplex", "oneOf": [ { "items": false, + "long_name": "Float", "prefixItems": [ { "type": { @@ -3076,12 +3078,12 @@ } ], "short_name": "Float", - "title": "Float", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Wood", "prefixItems": [ { "type": { @@ -3090,12 +3092,12 @@ } ], "short_name": "Wood", - "title": "Wood", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Vec", "prefixItems": [ { "type": { @@ -3104,30 +3106,30 @@ } ], "short_name": "Vec", - "title": "Vec", "type": "array", "typeInfo": "Tuple" }, { - "title": "SomeThing" + "long_name": "SomeThing" }, { "additionalProperties": false, + "long_name": "StructLike", "properties": { "a": { - "title": "a", + "long_name": "a", "type": { "$ref": "#/$defs/f32" } }, "b": { - "title": "b", + "long_name": "b", "type": { "$ref": "#/$defs/u32" } }, "c": { - "title": "c", + "long_name": "c", "type": { "$ref": "#/$defs/alloc::string::String" } @@ -3139,22 +3141,21 @@ "c" ], "short_name": "StructLike", - "title": "StructLike", "type": "object", "typeInfo": "Struct" }, { - "title": "None" + "long_name": "None" } ], "short_name": "EnumComplex", - "title": "bevy_example::test_components::EnumComplex", "type": "object", "typeInfo": "Enum" }, "bevy_example::test_components::EnumTest": { "isComponent": true, "isResource": false, + "long_name": "bevy_example::test_components::EnumTest", "oneOf": [ "Metal", "Wood", @@ -3164,7 +3165,6 @@ "None" ], "short_name": "EnumTest", - "title": "bevy_example::test_components::EnumTest", "type": "string", "typeInfo": "Enum" }, @@ -3172,6 +3172,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::test_components::HashmapTestIntColor", "properties": { "inner": { "type": { @@ -3183,7 +3184,6 @@ "inner" ], "short_name": "HashmapTestIntColor", - "title": "bevy_example::test_components::HashmapTestIntColor", "type": "object", "typeInfo": "Struct" }, @@ -3191,6 +3191,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::test_components::HashmapTestIntString", "properties": { "named_animations": { "type": { @@ -3202,7 +3203,6 @@ "named_animations" ], "short_name": "HashmapTestIntString", - "title": "bevy_example::test_components::HashmapTestIntString", "type": "object", "typeInfo": "Struct" }, @@ -3210,6 +3210,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::test_components::HashmapTestSimple", "properties": { "named_animations": { "type": { @@ -3221,7 +3222,6 @@ "named_animations" ], "short_name": "HashmapTestSimple", - "title": "bevy_example::test_components::HashmapTestSimple", "type": "object", "typeInfo": "Struct" }, @@ -3229,6 +3229,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::test_components::HashmapTestStringColor", "properties": { "inner": { "type": { @@ -3240,7 +3241,6 @@ "inner" ], "short_name": "HashmapTestStringColor", - "title": "bevy_example::test_components::HashmapTestStringColor", "type": "object", "typeInfo": "Struct" }, @@ -3248,6 +3248,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::HashmapTestStringColorFlat", "prefixItems": [ { "type": { @@ -3256,7 +3257,6 @@ } ], "short_name": "HashmapTestStringColorFlat", - "title": "bevy_example::test_components::HashmapTestStringColorFlat", "type": "array", "typeInfo": "TupleStruct" }, @@ -3264,6 +3264,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::test_components::HashmapTestStringFloat", "properties": { "named_animations": { "type": { @@ -3275,7 +3276,6 @@ "named_animations" ], "short_name": "HashmapTestStringFloat", - "title": "bevy_example::test_components::HashmapTestStringFloat", "type": "object", "typeInfo": "Struct" }, @@ -3283,6 +3283,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::NestedTupleStuff", "prefixItems": [ { "type": { @@ -3301,7 +3302,6 @@ } ], "short_name": "NestedTupleStuff", - "title": "bevy_example::test_components::NestedTupleStuff", "type": "array", "typeInfo": "TupleStruct" }, @@ -3309,6 +3309,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::test_components::NestingTestLevel2", "properties": { "basic": { "type": { @@ -3362,7 +3363,6 @@ "colors_list" ], "short_name": "NestingTestLevel2", - "title": "bevy_example::test_components::NestingTestLevel2", "type": "object", "typeInfo": "Struct" }, @@ -3370,6 +3370,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::test_components::NestingTestLevel3", "properties": { "vec": { "type": { @@ -3381,7 +3382,6 @@ "vec" ], "short_name": "NestingTestLevel3", - "title": "bevy_example::test_components::NestingTestLevel3", "type": "object", "typeInfo": "Struct" }, @@ -3389,6 +3389,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::TupleTest2", "prefixItems": [ { "type": { @@ -3407,7 +3408,6 @@ } ], "short_name": "TupleTest2", - "title": "bevy_example::test_components::TupleTest2", "type": "array", "typeInfo": "TupleStruct" }, @@ -3415,6 +3415,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::TupleTestBool", "prefixItems": [ { "type": { @@ -3423,7 +3424,6 @@ } ], "short_name": "TupleTestBool", - "title": "bevy_example::test_components::TupleTestBool", "type": "array", "typeInfo": "TupleStruct" }, @@ -3431,6 +3431,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::TupleTestColor", "prefixItems": [ { "type": { @@ -3439,7 +3440,6 @@ } ], "short_name": "TupleTestColor", - "title": "bevy_example::test_components::TupleTestColor", "type": "array", "typeInfo": "TupleStruct" }, @@ -3447,6 +3447,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::TupleTestF32", "prefixItems": [ { "type": { @@ -3455,7 +3456,6 @@ } ], "short_name": "TupleTestF32", - "title": "bevy_example::test_components::TupleTestF32", "type": "array", "typeInfo": "TupleStruct" }, @@ -3463,6 +3463,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::TupleTestStr", "prefixItems": [ { "type": { @@ -3471,7 +3472,6 @@ } ], "short_name": "TupleTestStr", - "title": "bevy_example::test_components::TupleTestStr", "type": "array", "typeInfo": "TupleStruct" }, @@ -3479,6 +3479,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::TupleTestU64", "prefixItems": [ { "type": { @@ -3487,7 +3488,6 @@ } ], "short_name": "TupleTestU64", - "title": "bevy_example::test_components::TupleTestU64", "type": "array", "typeInfo": "TupleStruct" }, @@ -3495,6 +3495,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::TupleVec", "prefixItems": [ { "type": { @@ -3503,7 +3504,6 @@ } ], "short_name": "TupleVec", - "title": "bevy_example::test_components::TupleVec", "type": "array", "typeInfo": "TupleStruct" }, @@ -3511,6 +3511,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::TupleVec2", "prefixItems": [ { "type": { @@ -3519,7 +3520,6 @@ } ], "short_name": "TupleVec2", - "title": "bevy_example::test_components::TupleVec2", "type": "array", "typeInfo": "TupleStruct" }, @@ -3527,6 +3527,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::TupleVec3", "prefixItems": [ { "type": { @@ -3535,7 +3536,6 @@ } ], "short_name": "TupleVec3", - "title": "bevy_example::test_components::TupleVec3", "type": "array", "typeInfo": "TupleStruct" }, @@ -3543,6 +3543,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::TupleVecF32F32", "prefixItems": [ { "type": { @@ -3551,7 +3552,6 @@ } ], "short_name": "TupleVecF32F32", - "title": "bevy_example::test_components::TupleVecF32F32", "type": "array", "typeInfo": "TupleStruct" }, @@ -3559,10 +3559,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_example::test_components::UnitTest", "properties": {}, "required": [], "short_name": "UnitTest", - "title": "bevy_example::test_components::UnitTest", "type": "object", "typeInfo": "Struct" }, @@ -3570,6 +3570,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::VecOfColors", "prefixItems": [ { "type": { @@ -3578,7 +3579,6 @@ } ], "short_name": "VecOfColors", - "title": "bevy_example::test_components::VecOfColors", "type": "array", "typeInfo": "TupleStruct" }, @@ -3586,6 +3586,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::VecOfF32s", "prefixItems": [ { "type": { @@ -3594,7 +3595,6 @@ } ], "short_name": "VecOfF32s", - "title": "bevy_example::test_components::VecOfF32s", "type": "array", "typeInfo": "TupleStruct" }, @@ -3602,6 +3602,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_example::test_components::VecOfVec3s2", "prefixItems": [ { "type": { @@ -3610,7 +3611,6 @@ } ], "short_name": "VecOfVec3s2", - "title": "bevy_example::test_components::VecOfVec3s2", "type": "array", "typeInfo": "TupleStruct" }, @@ -3618,6 +3618,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_gizmos::aabb::AabbGizmoConfigGroup", "properties": { "default_color": { "type": { @@ -3634,7 +3635,6 @@ "draw_all" ], "short_name": "AabbGizmoConfigGroup", - "title": "bevy_gizmos::aabb::AabbGizmoConfigGroup", "type": "object", "typeInfo": "Struct" }, @@ -3642,6 +3642,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_gizmos::config::GizmoConfig", "properties": { "depth_bias": { "type": { @@ -3677,7 +3678,6 @@ "render_layers" ], "short_name": "GizmoConfig", - "title": "bevy_gizmos::config::GizmoConfig", "type": "object", "typeInfo": "Struct" }, @@ -3685,6 +3685,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf::GltfExtras", "properties": { "value": { "type": { @@ -3696,7 +3697,6 @@ "value" ], "short_name": "GltfExtras", - "title": "bevy_gltf::GltfExtras", "type": "object", "typeInfo": "Struct" }, @@ -3704,6 +3704,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_gltf_blueprints::animation::AnimationInfo", "properties": { "frame_end": { "type": { @@ -3745,7 +3746,6 @@ "frame_end_override" ], "short_name": "AnimationInfo", - "title": "bevy_gltf_blueprints::animation::AnimationInfo", "type": "object", "typeInfo": "Struct" }, @@ -3753,6 +3753,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_blueprints::animation::AnimationInfos", "properties": { "animations": { "type": { @@ -3764,7 +3765,6 @@ "animations" ], "short_name": "AnimationInfos", - "title": "bevy_gltf_blueprints::animation::AnimationInfos", "type": "object", "typeInfo": "Struct" }, @@ -3772,6 +3772,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_gltf_blueprints::animation::AnimationMarkers", "prefixItems": [ { "type": { @@ -3780,7 +3781,6 @@ } ], "short_name": "AnimationMarkers", - "title": "bevy_gltf_blueprints::animation::AnimationMarkers", "type": "array", "typeInfo": "TupleStruct" }, @@ -3788,6 +3788,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_blueprints::animation::BlueprintAnimations", "properties": { "named_animations": { "type": { @@ -3799,7 +3800,6 @@ "named_animations" ], "short_name": "BlueprintAnimations", - "title": "bevy_gltf_blueprints::animation::BlueprintAnimations", "type": "object", "typeInfo": "Struct" }, @@ -3807,6 +3807,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_blueprints::animation::SceneAnimations", "properties": { "named_animations": { "type": { @@ -3818,7 +3819,6 @@ "named_animations" ], "short_name": "SceneAnimations", - "title": "bevy_gltf_blueprints::animation::SceneAnimations", "type": "object", "typeInfo": "Struct" }, @@ -3826,6 +3826,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_blueprints::materials::MaterialInfo", "properties": { "name": { "type": { @@ -3843,7 +3844,6 @@ "source" ], "short_name": "MaterialInfo", - "title": "bevy_gltf_blueprints::materials::MaterialInfo", "type": "object", "typeInfo": "Struct" }, @@ -3851,6 +3851,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_gltf_blueprints::spawn_from_blueprints::BlueprintName", "prefixItems": [ { "type": { @@ -3859,7 +3860,6 @@ } ], "short_name": "BlueprintName", - "title": "bevy_gltf_blueprints::spawn_from_blueprints::BlueprintName", "type": "array", "typeInfo": "TupleStruct" }, @@ -3867,6 +3867,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_gltf_blueprints::spawn_from_blueprints::BlueprintsList", "prefixItems": [ { "type": { @@ -3875,7 +3876,6 @@ } ], "short_name": "BlueprintsList", - "title": "bevy_gltf_blueprints::spawn_from_blueprints::BlueprintsList", "type": "array", "typeInfo": "TupleStruct" }, @@ -3883,10 +3883,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_blueprints::spawn_from_blueprints::SpawnHere", "properties": {}, "required": [], "short_name": "SpawnHere", - "title": "bevy_gltf_blueprints::spawn_from_blueprints::SpawnHere", "type": "object", "typeInfo": "Struct" }, @@ -3894,10 +3894,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_components::GltfProcessed", "properties": {}, "required": [], "short_name": "GltfProcessed", - "title": "bevy_gltf_components::GltfProcessed", "type": "object", "typeInfo": "Struct" }, @@ -3905,6 +3905,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_components::blender_settings::lighting::BlenderBackgroundShader", "properties": { "color": { "type": { @@ -3922,7 +3923,6 @@ "strength" ], "short_name": "BlenderBackgroundShader", - "title": "bevy_gltf_components::blender_settings::lighting::BlenderBackgroundShader", "type": "object", "typeInfo": "Struct" }, @@ -3930,6 +3930,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_components::blender_settings::lighting::BlenderLightShadows", "properties": { "buffer_bias": { "type": { @@ -3947,7 +3948,6 @@ "buffer_bias" ], "short_name": "BlenderLightShadows", - "title": "bevy_gltf_components::blender_settings::lighting::BlenderLightShadows", "type": "object", "typeInfo": "Struct" }, @@ -3955,6 +3955,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_components::blender_settings::lighting::BlenderShadowSettings", "properties": { "cascade_size": { "type": { @@ -3966,7 +3967,6 @@ "cascade_size" ], "short_name": "BlenderShadowSettings", - "title": "bevy_gltf_components::blender_settings::lighting::BlenderShadowSettings", "type": "object", "typeInfo": "Struct" }, @@ -3974,10 +3974,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_worlflow_examples_common::core::camera::camera_replace_proxies::SSAOSettings", "properties": {}, "required": [], "short_name": "SSAOSettings", - "title": "bevy_gltf_worlflow_examples_common::core::camera::camera_replace_proxies::SSAOSettings", "type": "object", "typeInfo": "Struct" }, @@ -3985,10 +3985,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTrackable", "properties": {}, "required": [], "short_name": "CameraTrackable", - "title": "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTrackable", "type": "object", "typeInfo": "Struct" }, @@ -3996,6 +3996,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTracking", "properties": { "offset": { "type": { @@ -4007,7 +4008,6 @@ "offset" ], "short_name": "CameraTracking", - "title": "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTracking", "type": "object", "typeInfo": "Struct" }, @@ -4015,6 +4015,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTrackingOffset", "prefixItems": [ { "type": { @@ -4023,7 +4024,6 @@ } ], "short_name": "CameraTrackingOffset", - "title": "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTrackingOffset", "type": "array", "typeInfo": "TupleStruct" }, @@ -4031,10 +4031,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_worlflow_examples_common::game::picking::Pickable", "properties": {}, "required": [], "short_name": "Pickable", - "title": "bevy_gltf_worlflow_examples_common::game::picking::Pickable", "type": "object", "typeInfo": "Struct" }, @@ -4042,32 +4042,34 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_worlflow_examples_common::game::player::Player", "properties": {}, "required": [], "short_name": "Player", - "title": "bevy_gltf_worlflow_examples_common::game::player::Player", "type": "object", "typeInfo": "Struct" }, "bevy_gltf_worlflow_examples_common_rapier::physics::physics_replace_proxies::AutoAABBCollider": { "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_worlflow_examples_common_rapier::physics::physics_replace_proxies::AutoAABBCollider", "oneOf": [ "Cuboid", "Ball", "Capsule" ], "short_name": "AutoAABBCollider", - "title": "bevy_gltf_worlflow_examples_common_rapier::physics::physics_replace_proxies::AutoAABBCollider", "type": "string", "typeInfo": "Enum" }, "bevy_gltf_worlflow_examples_common_rapier::physics::physics_replace_proxies::Collider": { "isComponent": true, "isResource": false, + "long_name": "bevy_gltf_worlflow_examples_common_rapier::physics::physics_replace_proxies::Collider", "oneOf": [ { "items": false, + "long_name": "Ball", "prefixItems": [ { "type": { @@ -4076,12 +4078,12 @@ } ], "short_name": "Ball", - "title": "Ball", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Cuboid", "prefixItems": [ { "type": { @@ -4090,12 +4092,12 @@ } ], "short_name": "Cuboid", - "title": "Cuboid", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Capsule", "prefixItems": [ { "type": { @@ -4114,16 +4116,14 @@ } ], "short_name": "Capsule", - "title": "Capsule", "type": "array", "typeInfo": "Tuple" }, { - "title": "Mesh" + "long_name": "Mesh" } ], "short_name": "Collider", - "title": "bevy_gltf_worlflow_examples_common_rapier::physics::physics_replace_proxies::Collider", "type": "object", "typeInfo": "Enum" }, @@ -4131,6 +4131,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_hierarchy::components::children::Children", "prefixItems": [ { "type": { @@ -4139,7 +4140,6 @@ } ], "short_name": "Children", - "title": "bevy_hierarchy::components::children::Children", "type": "array", "typeInfo": "TupleStruct" }, @@ -4147,6 +4147,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_hierarchy::components::parent::Parent", "prefixItems": [ { "type": { @@ -4155,19 +4156,18 @@ } ], "short_name": "Parent", - "title": "bevy_hierarchy::components::parent::Parent", "type": "array", "typeInfo": "TupleStruct" }, "bevy_input::ButtonState": { "isComponent": false, "isResource": false, + "long_name": "bevy_input::ButtonState", "oneOf": [ "Pressed", "Released" ], "short_name": "ButtonState", - "title": "bevy_input::ButtonState", "type": "string", "typeInfo": "Enum" }, @@ -4175,6 +4175,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_input::gamepad::AxisSettings", "properties": { "deadzone_lowerbound": { "type": { @@ -4210,7 +4211,6 @@ "threshold" ], "short_name": "AxisSettings", - "title": "bevy_input::gamepad::AxisSettings", "type": "object", "typeInfo": "Struct" }, @@ -4218,6 +4218,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_input::gamepad::ButtonAxisSettings", "properties": { "high": { "type": { @@ -4241,7 +4242,6 @@ "threshold" ], "short_name": "ButtonAxisSettings", - "title": "bevy_input::gamepad::ButtonAxisSettings", "type": "object", "typeInfo": "Struct" }, @@ -4249,6 +4249,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_input::gamepad::ButtonSettings", "properties": { "press_threshold": { "type": { @@ -4266,7 +4267,6 @@ "release_threshold" ], "short_name": "ButtonSettings", - "title": "bevy_input::gamepad::ButtonSettings", "type": "object", "typeInfo": "Struct" }, @@ -4274,6 +4274,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_input::gamepad::Gamepad", "properties": { "id": { "type": { @@ -4285,7 +4286,6 @@ "id" ], "short_name": "Gamepad", - "title": "bevy_input::gamepad::Gamepad", "type": "object", "typeInfo": "Struct" }, @@ -4293,6 +4293,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_input::gamepad::GamepadAxis", "properties": { "axis_type": { "type": { @@ -4310,34 +4311,35 @@ "axis_type" ], "short_name": "GamepadAxis", - "title": "bevy_input::gamepad::GamepadAxis", "type": "object", "typeInfo": "Struct" }, "bevy_input::gamepad::GamepadAxisType": { "isComponent": false, "isResource": false, + "long_name": "bevy_input::gamepad::GamepadAxisType", "oneOf": [ { - "title": "LeftStickX" + "long_name": "LeftStickX" }, { - "title": "LeftStickY" + "long_name": "LeftStickY" }, { - "title": "LeftZ" + "long_name": "LeftZ" }, { - "title": "RightStickX" + "long_name": "RightStickX" }, { - "title": "RightStickY" + "long_name": "RightStickY" }, { - "title": "RightZ" + "long_name": "RightZ" }, { "items": false, + "long_name": "Other", "prefixItems": [ { "type": { @@ -4346,13 +4348,11 @@ } ], "short_name": "Other", - "title": "Other", "type": "array", "typeInfo": "Tuple" } ], "short_name": "GamepadAxisType", - "title": "bevy_input::gamepad::GamepadAxisType", "type": "object", "typeInfo": "Enum" }, @@ -4360,6 +4360,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_input::gamepad::GamepadButton", "properties": { "button_type": { "type": { @@ -4377,7 +4378,6 @@ "button_type" ], "short_name": "GamepadButton", - "title": "bevy_input::gamepad::GamepadButton", "type": "object", "typeInfo": "Struct" }, @@ -4385,6 +4385,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_input::gamepad::GamepadButtonInput", "properties": { "button": { "type": { @@ -4402,73 +4403,74 @@ "state" ], "short_name": "GamepadButtonInput", - "title": "bevy_input::gamepad::GamepadButtonInput", "type": "object", "typeInfo": "Struct" }, "bevy_input::gamepad::GamepadButtonType": { "isComponent": false, "isResource": false, + "long_name": "bevy_input::gamepad::GamepadButtonType", "oneOf": [ { - "title": "South" + "long_name": "South" }, { - "title": "East" + "long_name": "East" }, { - "title": "North" + "long_name": "North" }, { - "title": "West" + "long_name": "West" }, { - "title": "C" + "long_name": "C" }, { - "title": "Z" + "long_name": "Z" }, { - "title": "LeftTrigger" + "long_name": "LeftTrigger" }, { - "title": "LeftTrigger2" + "long_name": "LeftTrigger2" }, { - "title": "RightTrigger" + "long_name": "RightTrigger" }, { - "title": "RightTrigger2" + "long_name": "RightTrigger2" }, { - "title": "Select" + "long_name": "Select" }, { - "title": "Start" + "long_name": "Start" }, { - "title": "Mode" + "long_name": "Mode" }, { - "title": "LeftThumb" + "long_name": "LeftThumb" }, { - "title": "RightThumb" + "long_name": "RightThumb" }, { - "title": "DPadUp" + "long_name": "DPadUp" }, { - "title": "DPadDown" + "long_name": "DPadDown" }, { - "title": "DPadLeft" + "long_name": "DPadLeft" }, { - "title": "DPadRight" + "long_name": "DPadRight" }, { "items": false, + "long_name": "Other", "prefixItems": [ { "type": { @@ -4477,22 +4479,22 @@ } ], "short_name": "Other", - "title": "Other", "type": "array", "typeInfo": "Tuple" } ], "short_name": "GamepadButtonType", - "title": "bevy_input::gamepad::GamepadButtonType", "type": "object", "typeInfo": "Enum" }, "bevy_input::gamepad::GamepadConnection": { "isComponent": false, "isResource": false, + "long_name": "bevy_input::gamepad::GamepadConnection", "oneOf": [ { "items": false, + "long_name": "Connected", "prefixItems": [ { "type": { @@ -4501,16 +4503,14 @@ } ], "short_name": "Connected", - "title": "Connected", "type": "array", "typeInfo": "Tuple" }, { - "title": "Disconnected" + "long_name": "Disconnected" } ], "short_name": "GamepadConnection", - "title": "bevy_input::gamepad::GamepadConnection", "type": "object", "typeInfo": "Enum" }, @@ -4518,6 +4518,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_input::gamepad::GamepadSettings", "properties": { "axis_settings": { "type": { @@ -4559,16 +4560,17 @@ "button_axis_settings" ], "short_name": "GamepadSettings", - "title": "bevy_input::gamepad::GamepadSettings", "type": "object", "typeInfo": "Struct" }, "bevy_input::keyboard::Key": { "isComponent": false, "isResource": false, + "long_name": "bevy_input::keyboard::Key", "oneOf": [ { "items": false, + "long_name": "Character", "prefixItems": [ { "type": { @@ -4577,12 +4579,12 @@ } ], "short_name": "Character", - "title": "Character", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Unidentified", "prefixItems": [ { "type": { @@ -4591,12 +4593,12 @@ } ], "short_name": "Unidentified", - "title": "Unidentified", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Dead", "prefixItems": [ { "type": { @@ -4605,940 +4607,940 @@ } ], "short_name": "Dead", - "title": "Dead", "type": "array", "typeInfo": "Tuple" }, { - "title": "Alt" + "long_name": "Alt" }, { - "title": "AltGraph" + "long_name": "AltGraph" }, { - "title": "CapsLock" + "long_name": "CapsLock" }, { - "title": "Control" + "long_name": "Control" }, { - "title": "Fn" + "long_name": "Fn" }, { - "title": "FnLock" + "long_name": "FnLock" }, { - "title": "NumLock" + "long_name": "NumLock" }, { - "title": "ScrollLock" + "long_name": "ScrollLock" }, { - "title": "Shift" + "long_name": "Shift" }, { - "title": "Symbol" + "long_name": "Symbol" }, { - "title": "SymbolLock" + "long_name": "SymbolLock" }, { - "title": "Meta" + "long_name": "Meta" }, { - "title": "Hyper" + "long_name": "Hyper" }, { - "title": "Super" + "long_name": "Super" }, { - "title": "Enter" + "long_name": "Enter" }, { - "title": "Tab" + "long_name": "Tab" }, { - "title": "Space" + "long_name": "Space" }, { - "title": "ArrowDown" + "long_name": "ArrowDown" }, { - "title": "ArrowLeft" + "long_name": "ArrowLeft" }, { - "title": "ArrowRight" + "long_name": "ArrowRight" }, { - "title": "ArrowUp" + "long_name": "ArrowUp" }, { - "title": "End" + "long_name": "End" }, { - "title": "Home" + "long_name": "Home" }, { - "title": "PageDown" + "long_name": "PageDown" }, { - "title": "PageUp" + "long_name": "PageUp" }, { - "title": "Backspace" + "long_name": "Backspace" }, { - "title": "Clear" + "long_name": "Clear" }, { - "title": "Copy" + "long_name": "Copy" }, { - "title": "CrSel" + "long_name": "CrSel" }, { - "title": "Cut" + "long_name": "Cut" }, { - "title": "Delete" + "long_name": "Delete" }, { - "title": "EraseEof" + "long_name": "EraseEof" }, { - "title": "ExSel" + "long_name": "ExSel" }, { - "title": "Insert" + "long_name": "Insert" }, { - "title": "Paste" + "long_name": "Paste" }, { - "title": "Redo" + "long_name": "Redo" }, { - "title": "Undo" + "long_name": "Undo" }, { - "title": "Accept" + "long_name": "Accept" }, { - "title": "Again" + "long_name": "Again" }, { - "title": "Attn" + "long_name": "Attn" }, { - "title": "Cancel" + "long_name": "Cancel" }, { - "title": "ContextMenu" + "long_name": "ContextMenu" }, { - "title": "Escape" + "long_name": "Escape" }, { - "title": "Execute" + "long_name": "Execute" }, { - "title": "Find" + "long_name": "Find" }, { - "title": "Help" + "long_name": "Help" }, { - "title": "Pause" + "long_name": "Pause" }, { - "title": "Play" + "long_name": "Play" }, { - "title": "Props" + "long_name": "Props" }, { - "title": "Select" + "long_name": "Select" }, { - "title": "ZoomIn" + "long_name": "ZoomIn" }, { - "title": "ZoomOut" + "long_name": "ZoomOut" }, { - "title": "BrightnessDown" + "long_name": "BrightnessDown" }, { - "title": "BrightnessUp" + "long_name": "BrightnessUp" }, { - "title": "Eject" + "long_name": "Eject" }, { - "title": "LogOff" + "long_name": "LogOff" }, { - "title": "Power" + "long_name": "Power" }, { - "title": "PowerOff" + "long_name": "PowerOff" }, { - "title": "PrintScreen" + "long_name": "PrintScreen" }, { - "title": "Hibernate" + "long_name": "Hibernate" }, { - "title": "Standby" + "long_name": "Standby" }, { - "title": "WakeUp" + "long_name": "WakeUp" }, { - "title": "AllCandidates" + "long_name": "AllCandidates" }, { - "title": "Alphanumeric" + "long_name": "Alphanumeric" }, { - "title": "CodeInput" + "long_name": "CodeInput" }, { - "title": "Compose" + "long_name": "Compose" }, { - "title": "Convert" + "long_name": "Convert" }, { - "title": "FinalMode" + "long_name": "FinalMode" }, { - "title": "GroupFirst" + "long_name": "GroupFirst" }, { - "title": "GroupLast" + "long_name": "GroupLast" }, { - "title": "GroupNext" + "long_name": "GroupNext" }, { - "title": "GroupPrevious" + "long_name": "GroupPrevious" }, { - "title": "ModeChange" + "long_name": "ModeChange" }, { - "title": "NextCandidate" + "long_name": "NextCandidate" }, { - "title": "NonConvert" + "long_name": "NonConvert" }, { - "title": "PreviousCandidate" + "long_name": "PreviousCandidate" }, { - "title": "Process" + "long_name": "Process" }, { - "title": "SingleCandidate" + "long_name": "SingleCandidate" }, { - "title": "HangulMode" + "long_name": "HangulMode" }, { - "title": "HanjaMode" + "long_name": "HanjaMode" }, { - "title": "JunjaMode" + "long_name": "JunjaMode" }, { - "title": "Eisu" + "long_name": "Eisu" }, { - "title": "Hankaku" + "long_name": "Hankaku" }, { - "title": "Hiragana" + "long_name": "Hiragana" }, { - "title": "HiraganaKatakana" + "long_name": "HiraganaKatakana" }, { - "title": "KanaMode" + "long_name": "KanaMode" }, { - "title": "KanjiMode" + "long_name": "KanjiMode" }, { - "title": "Katakana" + "long_name": "Katakana" }, { - "title": "Romaji" + "long_name": "Romaji" }, { - "title": "Zenkaku" + "long_name": "Zenkaku" }, { - "title": "ZenkakuHankaku" + "long_name": "ZenkakuHankaku" }, { - "title": "Soft1" + "long_name": "Soft1" }, { - "title": "Soft2" + "long_name": "Soft2" }, { - "title": "Soft3" + "long_name": "Soft3" }, { - "title": "Soft4" + "long_name": "Soft4" }, { - "title": "ChannelDown" + "long_name": "ChannelDown" }, { - "title": "ChannelUp" + "long_name": "ChannelUp" }, { - "title": "Close" + "long_name": "Close" }, { - "title": "MailForward" + "long_name": "MailForward" }, { - "title": "MailReply" + "long_name": "MailReply" }, { - "title": "MailSend" + "long_name": "MailSend" }, { - "title": "MediaClose" + "long_name": "MediaClose" }, { - "title": "MediaFastForward" + "long_name": "MediaFastForward" }, { - "title": "MediaPause" + "long_name": "MediaPause" }, { - "title": "MediaPlay" + "long_name": "MediaPlay" }, { - "title": "MediaPlayPause" + "long_name": "MediaPlayPause" }, { - "title": "MediaRecord" + "long_name": "MediaRecord" }, { - "title": "MediaRewind" + "long_name": "MediaRewind" }, { - "title": "MediaStop" + "long_name": "MediaStop" }, { - "title": "MediaTrackNext" + "long_name": "MediaTrackNext" }, { - "title": "MediaTrackPrevious" + "long_name": "MediaTrackPrevious" }, { - "title": "New" + "long_name": "New" }, { - "title": "Open" + "long_name": "Open" }, { - "title": "Print" + "long_name": "Print" }, { - "title": "Save" + "long_name": "Save" }, { - "title": "SpellCheck" + "long_name": "SpellCheck" }, { - "title": "Key11" + "long_name": "Key11" }, { - "title": "Key12" + "long_name": "Key12" }, { - "title": "AudioBalanceLeft" + "long_name": "AudioBalanceLeft" }, { - "title": "AudioBalanceRight" + "long_name": "AudioBalanceRight" }, { - "title": "AudioBassBoostDown" + "long_name": "AudioBassBoostDown" }, { - "title": "AudioBassBoostToggle" + "long_name": "AudioBassBoostToggle" }, { - "title": "AudioBassBoostUp" + "long_name": "AudioBassBoostUp" }, { - "title": "AudioFaderFront" + "long_name": "AudioFaderFront" }, { - "title": "AudioFaderRear" + "long_name": "AudioFaderRear" }, { - "title": "AudioSurroundModeNext" + "long_name": "AudioSurroundModeNext" }, { - "title": "AudioTrebleDown" + "long_name": "AudioTrebleDown" }, { - "title": "AudioTrebleUp" + "long_name": "AudioTrebleUp" }, { - "title": "AudioVolumeDown" + "long_name": "AudioVolumeDown" }, { - "title": "AudioVolumeUp" + "long_name": "AudioVolumeUp" }, { - "title": "AudioVolumeMute" + "long_name": "AudioVolumeMute" }, { - "title": "MicrophoneToggle" + "long_name": "MicrophoneToggle" }, { - "title": "MicrophoneVolumeDown" + "long_name": "MicrophoneVolumeDown" }, { - "title": "MicrophoneVolumeUp" + "long_name": "MicrophoneVolumeUp" }, { - "title": "MicrophoneVolumeMute" + "long_name": "MicrophoneVolumeMute" }, { - "title": "SpeechCorrectionList" + "long_name": "SpeechCorrectionList" }, { - "title": "SpeechInputToggle" + "long_name": "SpeechInputToggle" }, { - "title": "LaunchApplication1" + "long_name": "LaunchApplication1" }, { - "title": "LaunchApplication2" + "long_name": "LaunchApplication2" }, { - "title": "LaunchCalendar" + "long_name": "LaunchCalendar" }, { - "title": "LaunchContacts" + "long_name": "LaunchContacts" }, { - "title": "LaunchMail" + "long_name": "LaunchMail" }, { - "title": "LaunchMediaPlayer" + "long_name": "LaunchMediaPlayer" }, { - "title": "LaunchMusicPlayer" + "long_name": "LaunchMusicPlayer" }, { - "title": "LaunchPhone" + "long_name": "LaunchPhone" }, { - "title": "LaunchScreenSaver" + "long_name": "LaunchScreenSaver" }, { - "title": "LaunchSpreadsheet" + "long_name": "LaunchSpreadsheet" }, { - "title": "LaunchWebBrowser" + "long_name": "LaunchWebBrowser" }, { - "title": "LaunchWebCam" + "long_name": "LaunchWebCam" }, { - "title": "LaunchWordProcessor" + "long_name": "LaunchWordProcessor" }, { - "title": "BrowserBack" + "long_name": "BrowserBack" }, { - "title": "BrowserFavorites" + "long_name": "BrowserFavorites" }, { - "title": "BrowserForward" + "long_name": "BrowserForward" }, { - "title": "BrowserHome" + "long_name": "BrowserHome" }, { - "title": "BrowserRefresh" + "long_name": "BrowserRefresh" }, { - "title": "BrowserSearch" + "long_name": "BrowserSearch" }, { - "title": "BrowserStop" + "long_name": "BrowserStop" }, { - "title": "AppSwitch" + "long_name": "AppSwitch" }, { - "title": "Call" + "long_name": "Call" }, { - "title": "Camera" + "long_name": "Camera" }, { - "title": "CameraFocus" + "long_name": "CameraFocus" }, { - "title": "EndCall" + "long_name": "EndCall" }, { - "title": "GoBack" + "long_name": "GoBack" }, { - "title": "GoHome" + "long_name": "GoHome" }, { - "title": "HeadsetHook" + "long_name": "HeadsetHook" }, { - "title": "LastNumberRedial" + "long_name": "LastNumberRedial" }, { - "title": "Notification" + "long_name": "Notification" }, { - "title": "MannerMode" + "long_name": "MannerMode" }, { - "title": "VoiceDial" + "long_name": "VoiceDial" }, { - "title": "TV" + "long_name": "TV" }, { - "title": "TV3DMode" + "long_name": "TV3DMode" }, { - "title": "TVAntennaCable" + "long_name": "TVAntennaCable" }, { - "title": "TVAudioDescription" + "long_name": "TVAudioDescription" }, { - "title": "TVAudioDescriptionMixDown" + "long_name": "TVAudioDescriptionMixDown" }, { - "title": "TVAudioDescriptionMixUp" + "long_name": "TVAudioDescriptionMixUp" }, { - "title": "TVContentsMenu" + "long_name": "TVContentsMenu" }, { - "title": "TVDataService" + "long_name": "TVDataService" }, { - "title": "TVInput" + "long_name": "TVInput" }, { - "title": "TVInputComponent1" + "long_name": "TVInputComponent1" }, { - "title": "TVInputComponent2" + "long_name": "TVInputComponent2" }, { - "title": "TVInputComposite1" + "long_name": "TVInputComposite1" }, { - "title": "TVInputComposite2" + "long_name": "TVInputComposite2" }, { - "title": "TVInputHDMI1" + "long_name": "TVInputHDMI1" }, { - "title": "TVInputHDMI2" + "long_name": "TVInputHDMI2" }, { - "title": "TVInputHDMI3" + "long_name": "TVInputHDMI3" }, { - "title": "TVInputHDMI4" + "long_name": "TVInputHDMI4" }, { - "title": "TVInputVGA1" + "long_name": "TVInputVGA1" }, { - "title": "TVMediaContext" + "long_name": "TVMediaContext" }, { - "title": "TVNetwork" + "long_name": "TVNetwork" }, { - "title": "TVNumberEntry" + "long_name": "TVNumberEntry" }, { - "title": "TVPower" + "long_name": "TVPower" }, { - "title": "TVRadioService" + "long_name": "TVRadioService" }, { - "title": "TVSatellite" + "long_name": "TVSatellite" }, { - "title": "TVSatelliteBS" + "long_name": "TVSatelliteBS" }, { - "title": "TVSatelliteCS" + "long_name": "TVSatelliteCS" }, { - "title": "TVSatelliteToggle" + "long_name": "TVSatelliteToggle" }, { - "title": "TVTerrestrialAnalog" + "long_name": "TVTerrestrialAnalog" }, { - "title": "TVTerrestrialDigital" + "long_name": "TVTerrestrialDigital" }, { - "title": "TVTimer" + "long_name": "TVTimer" }, { - "title": "AVRInput" + "long_name": "AVRInput" }, { - "title": "AVRPower" + "long_name": "AVRPower" }, { - "title": "ColorF0Red" + "long_name": "ColorF0Red" }, { - "title": "ColorF1Green" + "long_name": "ColorF1Green" }, { - "title": "ColorF2Yellow" + "long_name": "ColorF2Yellow" }, { - "title": "ColorF3Blue" + "long_name": "ColorF3Blue" }, { - "title": "ColorF4Grey" + "long_name": "ColorF4Grey" }, { - "title": "ColorF5Brown" + "long_name": "ColorF5Brown" }, { - "title": "ClosedCaptionToggle" + "long_name": "ClosedCaptionToggle" }, { - "title": "Dimmer" + "long_name": "Dimmer" }, { - "title": "DisplaySwap" + "long_name": "DisplaySwap" }, { - "title": "DVR" + "long_name": "DVR" }, { - "title": "Exit" + "long_name": "Exit" }, { - "title": "FavoriteClear0" + "long_name": "FavoriteClear0" }, { - "title": "FavoriteClear1" + "long_name": "FavoriteClear1" }, { - "title": "FavoriteClear2" + "long_name": "FavoriteClear2" }, { - "title": "FavoriteClear3" + "long_name": "FavoriteClear3" }, { - "title": "FavoriteRecall0" + "long_name": "FavoriteRecall0" }, { - "title": "FavoriteRecall1" + "long_name": "FavoriteRecall1" }, { - "title": "FavoriteRecall2" + "long_name": "FavoriteRecall2" }, { - "title": "FavoriteRecall3" + "long_name": "FavoriteRecall3" }, { - "title": "FavoriteStore0" + "long_name": "FavoriteStore0" }, { - "title": "FavoriteStore1" + "long_name": "FavoriteStore1" }, { - "title": "FavoriteStore2" + "long_name": "FavoriteStore2" }, { - "title": "FavoriteStore3" + "long_name": "FavoriteStore3" }, { - "title": "Guide" + "long_name": "Guide" }, { - "title": "GuideNextDay" + "long_name": "GuideNextDay" }, { - "title": "GuidePreviousDay" + "long_name": "GuidePreviousDay" }, { - "title": "Info" + "long_name": "Info" }, { - "title": "InstantReplay" + "long_name": "InstantReplay" }, { - "title": "Link" + "long_name": "Link" }, { - "title": "ListProgram" + "long_name": "ListProgram" }, { - "title": "LiveContent" + "long_name": "LiveContent" }, { - "title": "Lock" + "long_name": "Lock" }, { - "title": "MediaApps" + "long_name": "MediaApps" }, { - "title": "MediaAudioTrack" + "long_name": "MediaAudioTrack" }, { - "title": "MediaLast" + "long_name": "MediaLast" }, { - "title": "MediaSkipBackward" + "long_name": "MediaSkipBackward" }, { - "title": "MediaSkipForward" + "long_name": "MediaSkipForward" }, { - "title": "MediaStepBackward" + "long_name": "MediaStepBackward" }, { - "title": "MediaStepForward" + "long_name": "MediaStepForward" }, { - "title": "MediaTopMenu" + "long_name": "MediaTopMenu" }, { - "title": "NavigateIn" + "long_name": "NavigateIn" }, { - "title": "NavigateNext" + "long_name": "NavigateNext" }, { - "title": "NavigateOut" + "long_name": "NavigateOut" }, { - "title": "NavigatePrevious" + "long_name": "NavigatePrevious" }, { - "title": "NextFavoriteChannel" + "long_name": "NextFavoriteChannel" }, { - "title": "NextUserProfile" + "long_name": "NextUserProfile" }, { - "title": "OnDemand" + "long_name": "OnDemand" }, { - "title": "Pairing" + "long_name": "Pairing" }, { - "title": "PinPDown" + "long_name": "PinPDown" }, { - "title": "PinPMove" + "long_name": "PinPMove" }, { - "title": "PinPToggle" + "long_name": "PinPToggle" }, { - "title": "PinPUp" + "long_name": "PinPUp" }, { - "title": "PlaySpeedDown" + "long_name": "PlaySpeedDown" }, { - "title": "PlaySpeedReset" + "long_name": "PlaySpeedReset" }, { - "title": "PlaySpeedUp" + "long_name": "PlaySpeedUp" }, { - "title": "RandomToggle" + "long_name": "RandomToggle" }, { - "title": "RcLowBattery" + "long_name": "RcLowBattery" }, { - "title": "RecordSpeedNext" + "long_name": "RecordSpeedNext" }, { - "title": "RfBypass" + "long_name": "RfBypass" }, { - "title": "ScanChannelsToggle" + "long_name": "ScanChannelsToggle" }, { - "title": "ScreenModeNext" + "long_name": "ScreenModeNext" }, { - "title": "Settings" + "long_name": "Settings" }, { - "title": "SplitScreenToggle" + "long_name": "SplitScreenToggle" }, { - "title": "STBInput" + "long_name": "STBInput" }, { - "title": "STBPower" + "long_name": "STBPower" }, { - "title": "Subtitle" + "long_name": "Subtitle" }, { - "title": "Teletext" + "long_name": "Teletext" }, { - "title": "VideoModeNext" + "long_name": "VideoModeNext" }, { - "title": "Wink" + "long_name": "Wink" }, { - "title": "ZoomToggle" + "long_name": "ZoomToggle" }, { - "title": "F1" + "long_name": "F1" }, { - "title": "F2" + "long_name": "F2" }, { - "title": "F3" + "long_name": "F3" }, { - "title": "F4" + "long_name": "F4" }, { - "title": "F5" + "long_name": "F5" }, { - "title": "F6" + "long_name": "F6" }, { - "title": "F7" + "long_name": "F7" }, { - "title": "F8" + "long_name": "F8" }, { - "title": "F9" + "long_name": "F9" }, { - "title": "F10" + "long_name": "F10" }, { - "title": "F11" + "long_name": "F11" }, { - "title": "F12" + "long_name": "F12" }, { - "title": "F13" + "long_name": "F13" }, { - "title": "F14" + "long_name": "F14" }, { - "title": "F15" + "long_name": "F15" }, { - "title": "F16" + "long_name": "F16" }, { - "title": "F17" + "long_name": "F17" }, { - "title": "F18" + "long_name": "F18" }, { - "title": "F19" + "long_name": "F19" }, { - "title": "F20" + "long_name": "F20" }, { - "title": "F21" + "long_name": "F21" }, { - "title": "F22" + "long_name": "F22" }, { - "title": "F23" + "long_name": "F23" }, { - "title": "F24" + "long_name": "F24" }, { - "title": "F25" + "long_name": "F25" }, { - "title": "F26" + "long_name": "F26" }, { - "title": "F27" + "long_name": "F27" }, { - "title": "F28" + "long_name": "F28" }, { - "title": "F29" + "long_name": "F29" }, { - "title": "F30" + "long_name": "F30" }, { - "title": "F31" + "long_name": "F31" }, { - "title": "F32" + "long_name": "F32" }, { - "title": "F33" + "long_name": "F33" }, { - "title": "F34" + "long_name": "F34" }, { - "title": "F35" + "long_name": "F35" } ], "short_name": "Key", - "title": "bevy_input::keyboard::Key", "type": "object", "typeInfo": "Enum" }, "bevy_input::keyboard::KeyCode": { "isComponent": false, "isResource": false, + "long_name": "bevy_input::keyboard::KeyCode", "oneOf": [ { "items": false, + "long_name": "Unidentified", "prefixItems": [ { "type": { @@ -5547,595 +5549,593 @@ } ], "short_name": "Unidentified", - "title": "Unidentified", "type": "array", "typeInfo": "Tuple" }, { - "title": "Backquote" + "long_name": "Backquote" }, { - "title": "Backslash" + "long_name": "Backslash" }, { - "title": "BracketLeft" + "long_name": "BracketLeft" }, { - "title": "BracketRight" + "long_name": "BracketRight" }, { - "title": "Comma" + "long_name": "Comma" }, { - "title": "Digit0" + "long_name": "Digit0" }, { - "title": "Digit1" + "long_name": "Digit1" }, { - "title": "Digit2" + "long_name": "Digit2" }, { - "title": "Digit3" + "long_name": "Digit3" }, { - "title": "Digit4" + "long_name": "Digit4" }, { - "title": "Digit5" + "long_name": "Digit5" }, { - "title": "Digit6" + "long_name": "Digit6" }, { - "title": "Digit7" + "long_name": "Digit7" }, { - "title": "Digit8" + "long_name": "Digit8" }, { - "title": "Digit9" + "long_name": "Digit9" }, { - "title": "Equal" + "long_name": "Equal" }, { - "title": "IntlBackslash" + "long_name": "IntlBackslash" }, { - "title": "IntlRo" + "long_name": "IntlRo" }, { - "title": "IntlYen" + "long_name": "IntlYen" }, { - "title": "KeyA" + "long_name": "KeyA" }, { - "title": "KeyB" + "long_name": "KeyB" }, { - "title": "KeyC" + "long_name": "KeyC" }, { - "title": "KeyD" + "long_name": "KeyD" }, { - "title": "KeyE" + "long_name": "KeyE" }, { - "title": "KeyF" + "long_name": "KeyF" }, { - "title": "KeyG" + "long_name": "KeyG" }, { - "title": "KeyH" + "long_name": "KeyH" }, { - "title": "KeyI" + "long_name": "KeyI" }, { - "title": "KeyJ" + "long_name": "KeyJ" }, { - "title": "KeyK" + "long_name": "KeyK" }, { - "title": "KeyL" + "long_name": "KeyL" }, { - "title": "KeyM" + "long_name": "KeyM" }, { - "title": "KeyN" + "long_name": "KeyN" }, { - "title": "KeyO" + "long_name": "KeyO" }, { - "title": "KeyP" + "long_name": "KeyP" }, { - "title": "KeyQ" + "long_name": "KeyQ" }, { - "title": "KeyR" + "long_name": "KeyR" }, { - "title": "KeyS" + "long_name": "KeyS" }, { - "title": "KeyT" + "long_name": "KeyT" }, { - "title": "KeyU" + "long_name": "KeyU" }, { - "title": "KeyV" + "long_name": "KeyV" }, { - "title": "KeyW" + "long_name": "KeyW" }, { - "title": "KeyX" + "long_name": "KeyX" }, { - "title": "KeyY" + "long_name": "KeyY" }, { - "title": "KeyZ" + "long_name": "KeyZ" }, { - "title": "Minus" + "long_name": "Minus" }, { - "title": "Period" + "long_name": "Period" }, { - "title": "Quote" + "long_name": "Quote" }, { - "title": "Semicolon" + "long_name": "Semicolon" }, { - "title": "Slash" + "long_name": "Slash" }, { - "title": "AltLeft" + "long_name": "AltLeft" }, { - "title": "AltRight" + "long_name": "AltRight" }, { - "title": "Backspace" + "long_name": "Backspace" }, { - "title": "CapsLock" + "long_name": "CapsLock" }, { - "title": "ContextMenu" + "long_name": "ContextMenu" }, { - "title": "ControlLeft" + "long_name": "ControlLeft" }, { - "title": "ControlRight" + "long_name": "ControlRight" }, { - "title": "Enter" + "long_name": "Enter" }, { - "title": "SuperLeft" + "long_name": "SuperLeft" }, { - "title": "SuperRight" + "long_name": "SuperRight" }, { - "title": "ShiftLeft" + "long_name": "ShiftLeft" }, { - "title": "ShiftRight" + "long_name": "ShiftRight" }, { - "title": "Space" + "long_name": "Space" }, { - "title": "Tab" + "long_name": "Tab" }, { - "title": "Convert" + "long_name": "Convert" }, { - "title": "KanaMode" + "long_name": "KanaMode" }, { - "title": "Lang1" + "long_name": "Lang1" }, { - "title": "Lang2" + "long_name": "Lang2" }, { - "title": "Lang3" + "long_name": "Lang3" }, { - "title": "Lang4" + "long_name": "Lang4" }, { - "title": "Lang5" + "long_name": "Lang5" }, { - "title": "NonConvert" + "long_name": "NonConvert" }, { - "title": "Delete" + "long_name": "Delete" }, { - "title": "End" + "long_name": "End" }, { - "title": "Help" + "long_name": "Help" }, { - "title": "Home" + "long_name": "Home" }, { - "title": "Insert" + "long_name": "Insert" }, { - "title": "PageDown" + "long_name": "PageDown" }, { - "title": "PageUp" + "long_name": "PageUp" }, { - "title": "ArrowDown" + "long_name": "ArrowDown" }, { - "title": "ArrowLeft" + "long_name": "ArrowLeft" }, { - "title": "ArrowRight" + "long_name": "ArrowRight" }, { - "title": "ArrowUp" + "long_name": "ArrowUp" }, { - "title": "NumLock" + "long_name": "NumLock" }, { - "title": "Numpad0" + "long_name": "Numpad0" }, { - "title": "Numpad1" + "long_name": "Numpad1" }, { - "title": "Numpad2" + "long_name": "Numpad2" }, { - "title": "Numpad3" + "long_name": "Numpad3" }, { - "title": "Numpad4" + "long_name": "Numpad4" }, { - "title": "Numpad5" + "long_name": "Numpad5" }, { - "title": "Numpad6" + "long_name": "Numpad6" }, { - "title": "Numpad7" + "long_name": "Numpad7" }, { - "title": "Numpad8" + "long_name": "Numpad8" }, { - "title": "Numpad9" + "long_name": "Numpad9" }, { - "title": "NumpadAdd" + "long_name": "NumpadAdd" }, { - "title": "NumpadBackspace" + "long_name": "NumpadBackspace" }, { - "title": "NumpadClear" + "long_name": "NumpadClear" }, { - "title": "NumpadClearEntry" + "long_name": "NumpadClearEntry" }, { - "title": "NumpadComma" + "long_name": "NumpadComma" }, { - "title": "NumpadDecimal" + "long_name": "NumpadDecimal" }, { - "title": "NumpadDivide" + "long_name": "NumpadDivide" }, { - "title": "NumpadEnter" + "long_name": "NumpadEnter" }, { - "title": "NumpadEqual" + "long_name": "NumpadEqual" }, { - "title": "NumpadHash" + "long_name": "NumpadHash" }, { - "title": "NumpadMemoryAdd" + "long_name": "NumpadMemoryAdd" }, { - "title": "NumpadMemoryClear" + "long_name": "NumpadMemoryClear" }, { - "title": "NumpadMemoryRecall" + "long_name": "NumpadMemoryRecall" }, { - "title": "NumpadMemoryStore" + "long_name": "NumpadMemoryStore" }, { - "title": "NumpadMemorySubtract" + "long_name": "NumpadMemorySubtract" }, { - "title": "NumpadMultiply" + "long_name": "NumpadMultiply" }, { - "title": "NumpadParenLeft" + "long_name": "NumpadParenLeft" }, { - "title": "NumpadParenRight" + "long_name": "NumpadParenRight" }, { - "title": "NumpadStar" + "long_name": "NumpadStar" }, { - "title": "NumpadSubtract" + "long_name": "NumpadSubtract" }, { - "title": "Escape" + "long_name": "Escape" }, { - "title": "Fn" + "long_name": "Fn" }, { - "title": "FnLock" + "long_name": "FnLock" }, { - "title": "PrintScreen" + "long_name": "PrintScreen" }, { - "title": "ScrollLock" + "long_name": "ScrollLock" }, { - "title": "Pause" + "long_name": "Pause" }, { - "title": "BrowserBack" + "long_name": "BrowserBack" }, { - "title": "BrowserFavorites" + "long_name": "BrowserFavorites" }, { - "title": "BrowserForward" + "long_name": "BrowserForward" }, { - "title": "BrowserHome" + "long_name": "BrowserHome" }, { - "title": "BrowserRefresh" + "long_name": "BrowserRefresh" }, { - "title": "BrowserSearch" + "long_name": "BrowserSearch" }, { - "title": "BrowserStop" + "long_name": "BrowserStop" }, { - "title": "Eject" + "long_name": "Eject" }, { - "title": "LaunchApp1" + "long_name": "LaunchApp1" }, { - "title": "LaunchApp2" + "long_name": "LaunchApp2" }, { - "title": "LaunchMail" + "long_name": "LaunchMail" }, { - "title": "MediaPlayPause" + "long_name": "MediaPlayPause" }, { - "title": "MediaSelect" + "long_name": "MediaSelect" }, { - "title": "MediaStop" + "long_name": "MediaStop" }, { - "title": "MediaTrackNext" + "long_name": "MediaTrackNext" }, { - "title": "MediaTrackPrevious" + "long_name": "MediaTrackPrevious" }, { - "title": "Power" + "long_name": "Power" }, { - "title": "Sleep" + "long_name": "Sleep" }, { - "title": "AudioVolumeDown" + "long_name": "AudioVolumeDown" }, { - "title": "AudioVolumeMute" + "long_name": "AudioVolumeMute" }, { - "title": "AudioVolumeUp" + "long_name": "AudioVolumeUp" }, { - "title": "WakeUp" + "long_name": "WakeUp" }, { - "title": "Meta" + "long_name": "Meta" }, { - "title": "Hyper" + "long_name": "Hyper" }, { - "title": "Turbo" + "long_name": "Turbo" }, { - "title": "Abort" + "long_name": "Abort" }, { - "title": "Resume" + "long_name": "Resume" }, { - "title": "Suspend" + "long_name": "Suspend" }, { - "title": "Again" + "long_name": "Again" }, { - "title": "Copy" + "long_name": "Copy" }, { - "title": "Cut" + "long_name": "Cut" }, { - "title": "Find" + "long_name": "Find" }, { - "title": "Open" + "long_name": "Open" }, { - "title": "Paste" + "long_name": "Paste" }, { - "title": "Props" + "long_name": "Props" }, { - "title": "Select" + "long_name": "Select" }, { - "title": "Undo" + "long_name": "Undo" }, { - "title": "Hiragana" + "long_name": "Hiragana" }, { - "title": "Katakana" + "long_name": "Katakana" }, { - "title": "F1" + "long_name": "F1" }, { - "title": "F2" + "long_name": "F2" }, { - "title": "F3" + "long_name": "F3" }, { - "title": "F4" + "long_name": "F4" }, { - "title": "F5" + "long_name": "F5" }, { - "title": "F6" + "long_name": "F6" }, { - "title": "F7" + "long_name": "F7" }, { - "title": "F8" + "long_name": "F8" }, { - "title": "F9" + "long_name": "F9" }, { - "title": "F10" + "long_name": "F10" }, { - "title": "F11" + "long_name": "F11" }, { - "title": "F12" + "long_name": "F12" }, { - "title": "F13" + "long_name": "F13" }, { - "title": "F14" + "long_name": "F14" }, { - "title": "F15" + "long_name": "F15" }, { - "title": "F16" + "long_name": "F16" }, { - "title": "F17" + "long_name": "F17" }, { - "title": "F18" + "long_name": "F18" }, { - "title": "F19" + "long_name": "F19" }, { - "title": "F20" + "long_name": "F20" }, { - "title": "F21" + "long_name": "F21" }, { - "title": "F22" + "long_name": "F22" }, { - "title": "F23" + "long_name": "F23" }, { - "title": "F24" + "long_name": "F24" }, { - "title": "F25" + "long_name": "F25" }, { - "title": "F26" + "long_name": "F26" }, { - "title": "F27" + "long_name": "F27" }, { - "title": "F28" + "long_name": "F28" }, { - "title": "F29" + "long_name": "F29" }, { - "title": "F30" + "long_name": "F30" }, { - "title": "F31" + "long_name": "F31" }, { - "title": "F32" + "long_name": "F32" }, { - "title": "F33" + "long_name": "F33" }, { - "title": "F34" + "long_name": "F34" }, { - "title": "F35" + "long_name": "F35" } ], "short_name": "KeyCode", - "title": "bevy_input::keyboard::KeyCode", "type": "object", "typeInfo": "Enum" }, @@ -6143,6 +6143,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_input::keyboard::KeyboardInput", "properties": { "key_code": { "type": { @@ -6172,19 +6173,20 @@ "window" ], "short_name": "KeyboardInput", - "title": "bevy_input::keyboard::KeyboardInput", "type": "object", "typeInfo": "Struct" }, "bevy_input::keyboard::NativeKey": { "isComponent": false, "isResource": false, + "long_name": "bevy_input::keyboard::NativeKey", "oneOf": [ { - "title": "Unidentified" + "long_name": "Unidentified" }, { "items": false, + "long_name": "Android", "prefixItems": [ { "type": { @@ -6193,12 +6195,12 @@ } ], "short_name": "Android", - "title": "Android", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "MacOS", "prefixItems": [ { "type": { @@ -6207,12 +6209,12 @@ } ], "short_name": "MacOS", - "title": "MacOS", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Windows", "prefixItems": [ { "type": { @@ -6221,12 +6223,12 @@ } ], "short_name": "Windows", - "title": "Windows", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Xkb", "prefixItems": [ { "type": { @@ -6235,12 +6237,12 @@ } ], "short_name": "Xkb", - "title": "Xkb", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Web", "prefixItems": [ { "type": { @@ -6249,25 +6251,25 @@ } ], "short_name": "Web", - "title": "Web", "type": "array", "typeInfo": "Tuple" } ], "short_name": "NativeKey", - "title": "bevy_input::keyboard::NativeKey", "type": "object", "typeInfo": "Enum" }, "bevy_input::keyboard::NativeKeyCode": { "isComponent": false, "isResource": false, + "long_name": "bevy_input::keyboard::NativeKeyCode", "oneOf": [ { - "title": "Unidentified" + "long_name": "Unidentified" }, { "items": false, + "long_name": "Android", "prefixItems": [ { "type": { @@ -6276,12 +6278,12 @@ } ], "short_name": "Android", - "title": "Android", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "MacOS", "prefixItems": [ { "type": { @@ -6290,12 +6292,12 @@ } ], "short_name": "MacOS", - "title": "MacOS", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Windows", "prefixItems": [ { "type": { @@ -6304,12 +6306,12 @@ } ], "short_name": "Windows", - "title": "Windows", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Xkb", "prefixItems": [ { "type": { @@ -6318,37 +6320,37 @@ } ], "short_name": "Xkb", - "title": "Xkb", "type": "array", "typeInfo": "Tuple" } ], "short_name": "NativeKeyCode", - "title": "bevy_input::keyboard::NativeKeyCode", "type": "object", "typeInfo": "Enum" }, "bevy_input::mouse::MouseButton": { "isComponent": false, "isResource": false, + "long_name": "bevy_input::mouse::MouseButton", "oneOf": [ { - "title": "Left" + "long_name": "Left" }, { - "title": "Right" + "long_name": "Right" }, { - "title": "Middle" + "long_name": "Middle" }, { - "title": "Back" + "long_name": "Back" }, { - "title": "Forward" + "long_name": "Forward" }, { "items": false, + "long_name": "Other", "prefixItems": [ { "type": { @@ -6357,13 +6359,11 @@ } ], "short_name": "Other", - "title": "Other", "type": "array", "typeInfo": "Tuple" } ], "short_name": "MouseButton", - "title": "bevy_input::mouse::MouseButton", "type": "object", "typeInfo": "Enum" }, @@ -6371,6 +6371,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_input::mouse::MouseButtonInput", "properties": { "button": { "type": { @@ -6394,7 +6395,6 @@ "window" ], "short_name": "MouseButtonInput", - "title": "bevy_input::mouse::MouseButtonInput", "type": "object", "typeInfo": "Struct" }, @@ -6402,6 +6402,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_input::mouse::MouseMotion", "properties": { "delta": { "type": { @@ -6413,19 +6414,18 @@ "delta" ], "short_name": "MouseMotion", - "title": "bevy_input::mouse::MouseMotion", "type": "object", "typeInfo": "Struct" }, "bevy_input::mouse::MouseScrollUnit": { "isComponent": false, "isResource": false, + "long_name": "bevy_input::mouse::MouseScrollUnit", "oneOf": [ "Line", "Pixel" ], "short_name": "MouseScrollUnit", - "title": "bevy_input::mouse::MouseScrollUnit", "type": "string", "typeInfo": "Enum" }, @@ -6433,6 +6433,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_input::mouse::MouseWheel", "properties": { "unit": { "type": { @@ -6462,31 +6463,32 @@ "window" ], "short_name": "MouseWheel", - "title": "bevy_input::mouse::MouseWheel", "type": "object", "typeInfo": "Struct" }, "bevy_input::touch::ForceTouch": { "isComponent": false, "isResource": false, + "long_name": "bevy_input::touch::ForceTouch", "oneOf": [ { "additionalProperties": false, + "long_name": "Calibrated", "properties": { "altitude_angle": { - "title": "altitude_angle", + "long_name": "altitude_angle", "type": { "$ref": "#/$defs/core::option::Option" } }, "force": { - "title": "force", + "long_name": "force", "type": { "$ref": "#/$defs/f64" } }, "max_possible_force": { - "title": "max_possible_force", + "long_name": "max_possible_force", "type": { "$ref": "#/$defs/f64" } @@ -6497,12 +6499,12 @@ "max_possible_force" ], "short_name": "Calibrated", - "title": "Calibrated", "type": "object", "typeInfo": "Struct" }, { "items": false, + "long_name": "Normalized", "prefixItems": [ { "type": { @@ -6511,13 +6513,11 @@ } ], "short_name": "Normalized", - "title": "Normalized", "type": "array", "typeInfo": "Tuple" } ], "short_name": "ForceTouch", - "title": "bevy_input::touch::ForceTouch", "type": "object", "typeInfo": "Enum" }, @@ -6525,6 +6525,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_input::touch::TouchInput", "properties": { "force": { "type": { @@ -6559,13 +6560,13 @@ "id" ], "short_name": "TouchInput", - "title": "bevy_input::touch::TouchInput", "type": "object", "typeInfo": "Struct" }, "bevy_input::touch::TouchPhase": { "isComponent": false, "isResource": false, + "long_name": "bevy_input::touch::TouchPhase", "oneOf": [ "Started", "Moved", @@ -6573,7 +6574,6 @@ "Canceled" ], "short_name": "TouchPhase", - "title": "bevy_input::touch::TouchPhase", "type": "string", "typeInfo": "Enum" }, @@ -6581,6 +6581,7 @@ "isComponent": false, "isResource": false, "items": false, + "long_name": "bevy_input::touchpad::TouchpadMagnify", "prefixItems": [ { "type": { @@ -6589,7 +6590,6 @@ } ], "short_name": "TouchpadMagnify", - "title": "bevy_input::touchpad::TouchpadMagnify", "type": "array", "typeInfo": "TupleStruct" }, @@ -6597,6 +6597,7 @@ "isComponent": false, "isResource": false, "items": false, + "long_name": "bevy_input::touchpad::TouchpadRotate", "prefixItems": [ { "type": { @@ -6605,7 +6606,6 @@ } ], "short_name": "TouchpadRotate", - "title": "bevy_input::touchpad::TouchpadRotate", "type": "array", "typeInfo": "TupleStruct" }, @@ -6613,6 +6613,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_math::Rect", "properties": { "max": { "type": { @@ -6630,19 +6631,20 @@ "max" ], "short_name": "Rect", - "title": "bevy_math::Rect", "type": "object", "typeInfo": "Struct" }, "bevy_pbr::alpha::AlphaMode": { "isComponent": false, "isResource": false, + "long_name": "bevy_pbr::alpha::AlphaMode", "oneOf": [ { - "title": "Opaque" + "long_name": "Opaque" }, { "items": false, + "long_name": "Mask", "prefixItems": [ { "type": { @@ -6651,25 +6653,23 @@ } ], "short_name": "Mask", - "title": "Mask", "type": "array", "typeInfo": "Tuple" }, { - "title": "Blend" + "long_name": "Blend" }, { - "title": "Premultiplied" + "long_name": "Premultiplied" }, { - "title": "Add" + "long_name": "Add" }, { - "title": "Multiply" + "long_name": "Multiply" } ], "short_name": "AlphaMode", - "title": "bevy_pbr::alpha::AlphaMode", "type": "object", "typeInfo": "Enum" }, @@ -6677,10 +6677,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::bundle::CascadesVisibleEntities", "properties": {}, "required": [], "short_name": "CascadesVisibleEntities", - "title": "bevy_pbr::bundle::CascadesVisibleEntities", "type": "object", "typeInfo": "Struct" }, @@ -6688,28 +6688,30 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::bundle::CubemapVisibleEntities", "properties": {}, "required": [], "short_name": "CubemapVisibleEntities", - "title": "bevy_pbr::bundle::CubemapVisibleEntities", "type": "object", "typeInfo": "Struct" }, "bevy_pbr::fog::FogFalloff": { "isComponent": false, "isResource": false, + "long_name": "bevy_pbr::fog::FogFalloff", "oneOf": [ { "additionalProperties": false, + "long_name": "Linear", "properties": { "end": { - "title": "end", + "long_name": "end", "type": { "$ref": "#/$defs/f32" } }, "start": { - "title": "start", + "long_name": "start", "type": { "$ref": "#/$defs/f32" } @@ -6720,15 +6722,15 @@ "end" ], "short_name": "Linear", - "title": "Linear", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Exponential", "properties": { "density": { - "title": "density", + "long_name": "density", "type": { "$ref": "#/$defs/f32" } @@ -6738,15 +6740,15 @@ "density" ], "short_name": "Exponential", - "title": "Exponential", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "ExponentialSquared", "properties": { "density": { - "title": "density", + "long_name": "density", "type": { "$ref": "#/$defs/f32" } @@ -6756,21 +6758,21 @@ "density" ], "short_name": "ExponentialSquared", - "title": "ExponentialSquared", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Atmospheric", "properties": { "extinction": { - "title": "extinction", + "long_name": "extinction", "type": { "$ref": "#/$defs/glam::Vec3" } }, "inscattering": { - "title": "inscattering", + "long_name": "inscattering", "type": { "$ref": "#/$defs/glam::Vec3" } @@ -6781,13 +6783,11 @@ "inscattering" ], "short_name": "Atmospheric", - "title": "Atmospheric", "type": "object", "typeInfo": "Struct" } ], "short_name": "FogFalloff", - "title": "bevy_pbr::fog::FogFalloff", "type": "object", "typeInfo": "Enum" }, @@ -6795,6 +6795,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::fog::FogSettings", "properties": { "color": { "type": { @@ -6824,7 +6825,6 @@ "falloff" ], "short_name": "FogSettings", - "title": "bevy_pbr::fog::FogSettings", "type": "object", "typeInfo": "Struct" }, @@ -6832,6 +6832,7 @@ "additionalProperties": false, "isComponent": false, "isResource": true, + "long_name": "bevy_pbr::light::AmbientLight", "properties": { "brightness": { "type": { @@ -6849,7 +6850,6 @@ "brightness" ], "short_name": "AmbientLight", - "title": "bevy_pbr::light::AmbientLight", "type": "object", "typeInfo": "Struct" }, @@ -6857,6 +6857,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_pbr::light::Cascade", "properties": { "projection": { "type": { @@ -6886,7 +6887,6 @@ "texel_size" ], "short_name": "Cascade", - "title": "bevy_pbr::light::Cascade", "type": "object", "typeInfo": "Struct" }, @@ -6894,6 +6894,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::light::CascadeShadowConfig", "properties": { "bounds": { "type": { @@ -6917,7 +6918,6 @@ "minimum_distance" ], "short_name": "CascadeShadowConfig", - "title": "bevy_pbr::light::CascadeShadowConfig", "type": "object", "typeInfo": "Struct" }, @@ -6925,6 +6925,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::light::Cascades", "properties": { "cascades": { "type": { @@ -6936,37 +6937,38 @@ "cascades" ], "short_name": "Cascades", - "title": "bevy_pbr::light::Cascades", "type": "object", "typeInfo": "Struct" }, "bevy_pbr::light::ClusterConfig": { "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::light::ClusterConfig", "oneOf": [ { - "title": "None" + "long_name": "None" }, { - "title": "Single" + "long_name": "Single" }, { "additionalProperties": false, + "long_name": "XYZ", "properties": { "dimensions": { - "title": "dimensions", + "long_name": "dimensions", "type": { "$ref": "#/$defs/glam::UVec3" } }, "dynamic_resizing": { - "title": "dynamic_resizing", + "long_name": "dynamic_resizing", "type": { "$ref": "#/$defs/bool" } }, "z_config": { - "title": "z_config", + "long_name": "z_config", "type": { "$ref": "#/$defs/bevy_pbr::light::ClusterZConfig" } @@ -6978,33 +6980,33 @@ "dynamic_resizing" ], "short_name": "XYZ", - "title": "XYZ", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "FixedZ", "properties": { "dynamic_resizing": { - "title": "dynamic_resizing", + "long_name": "dynamic_resizing", "type": { "$ref": "#/$defs/bool" } }, "total": { - "title": "total", + "long_name": "total", "type": { "$ref": "#/$defs/u32" } }, "z_config": { - "title": "z_config", + "long_name": "z_config", "type": { "$ref": "#/$defs/bevy_pbr::light::ClusterZConfig" } }, "z_slices": { - "title": "z_slices", + "long_name": "z_slices", "type": { "$ref": "#/$defs/u32" } @@ -7017,25 +7019,25 @@ "dynamic_resizing" ], "short_name": "FixedZ", - "title": "FixedZ", "type": "object", "typeInfo": "Struct" } ], "short_name": "ClusterConfig", - "title": "bevy_pbr::light::ClusterConfig", "type": "object", "typeInfo": "Enum" }, "bevy_pbr::light::ClusterFarZMode": { "isComponent": false, "isResource": false, + "long_name": "bevy_pbr::light::ClusterFarZMode", "oneOf": [ { - "title": "MaxLightRange" + "long_name": "MaxLightRange" }, { "items": false, + "long_name": "Constant", "prefixItems": [ { "type": { @@ -7044,13 +7046,11 @@ } ], "short_name": "Constant", - "title": "Constant", "type": "array", "typeInfo": "Tuple" } ], "short_name": "ClusterFarZMode", - "title": "bevy_pbr::light::ClusterFarZMode", "type": "object", "typeInfo": "Enum" }, @@ -7058,6 +7058,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_pbr::light::ClusterZConfig", "properties": { "far_z_mode": { "type": { @@ -7075,7 +7076,6 @@ "far_z_mode" ], "short_name": "ClusterZConfig", - "title": "bevy_pbr::light::ClusterZConfig", "type": "object", "typeInfo": "Struct" }, @@ -7083,6 +7083,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::light::DirectionalLight", "properties": { "color": { "type": { @@ -7118,7 +7119,6 @@ "shadow_normal_bias" ], "short_name": "DirectionalLight", - "title": "bevy_pbr::light::DirectionalLight", "type": "object", "typeInfo": "Struct" }, @@ -7126,6 +7126,7 @@ "additionalProperties": false, "isComponent": false, "isResource": true, + "long_name": "bevy_pbr::light::DirectionalLightShadowMap", "properties": { "size": { "type": { @@ -7137,7 +7138,6 @@ "size" ], "short_name": "DirectionalLightShadowMap", - "title": "bevy_pbr::light::DirectionalLightShadowMap", "type": "object", "typeInfo": "Struct" }, @@ -7145,10 +7145,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::light::NotShadowCaster", "properties": {}, "required": [], "short_name": "NotShadowCaster", - "title": "bevy_pbr::light::NotShadowCaster", "type": "object", "typeInfo": "Struct" }, @@ -7156,10 +7156,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::light::NotShadowReceiver", "properties": {}, "required": [], "short_name": "NotShadowReceiver", - "title": "bevy_pbr::light::NotShadowReceiver", "type": "object", "typeInfo": "Struct" }, @@ -7167,6 +7167,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::light::PointLight", "properties": { "color": { "type": { @@ -7214,7 +7215,6 @@ "shadow_normal_bias" ], "short_name": "PointLight", - "title": "bevy_pbr::light::PointLight", "type": "object", "typeInfo": "Struct" }, @@ -7222,6 +7222,7 @@ "additionalProperties": false, "isComponent": false, "isResource": true, + "long_name": "bevy_pbr::light::PointLightShadowMap", "properties": { "size": { "type": { @@ -7233,20 +7234,19 @@ "size" ], "short_name": "PointLightShadowMap", - "title": "bevy_pbr::light::PointLightShadowMap", "type": "object", "typeInfo": "Struct" }, "bevy_pbr::light::ShadowFilteringMethod": { "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::light::ShadowFilteringMethod", "oneOf": [ "Hardware2x2", "Castano13", "Jimenez14" ], "short_name": "ShadowFilteringMethod", - "title": "bevy_pbr::light::ShadowFilteringMethod", "type": "string", "typeInfo": "Enum" }, @@ -7254,6 +7254,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::light::SpotLight", "properties": { "color": { "type": { @@ -7313,7 +7314,6 @@ "inner_angle" ], "short_name": "SpotLight", - "title": "bevy_pbr::light::SpotLight", "type": "object", "typeInfo": "Struct" }, @@ -7321,10 +7321,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::light_probe::LightProbe", "properties": {}, "required": [], "short_name": "LightProbe", - "title": "bevy_pbr::light_probe::LightProbe", "type": "object", "typeInfo": "Struct" }, @@ -7332,6 +7332,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_pbr::light_probe::environment_map::EnvironmentMapLight", "properties": { "diffuse_map": { "type": { @@ -7355,7 +7356,6 @@ "intensity" ], "short_name": "EnvironmentMapLight", - "title": "bevy_pbr::light_probe::environment_map::EnvironmentMapLight", "type": "object", "typeInfo": "Struct" }, @@ -7363,6 +7363,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_pbr::light_probe::irradiance_volume::IrradianceVolume", "properties": { "intensity": { "type": { @@ -7380,7 +7381,6 @@ "intensity" ], "short_name": "IrradianceVolume", - "title": "bevy_pbr::light_probe::irradiance_volume::IrradianceVolume", "type": "object", "typeInfo": "Struct" }, @@ -7388,6 +7388,7 @@ "isComponent": false, "isResource": false, "items": false, + "long_name": "bevy_pbr::material::DefaultOpaqueRendererMethod", "prefixItems": [ { "type": { @@ -7396,35 +7397,36 @@ } ], "short_name": "DefaultOpaqueRendererMethod", - "title": "bevy_pbr::material::DefaultOpaqueRendererMethod", "type": "array", "typeInfo": "TupleStruct" }, "bevy_pbr::material::OpaqueRendererMethod": { "isComponent": false, "isResource": false, + "long_name": "bevy_pbr::material::OpaqueRendererMethod", "oneOf": [ "Forward", "Deferred", "Auto" ], "short_name": "OpaqueRendererMethod", - "title": "bevy_pbr::material::OpaqueRendererMethod", "type": "string", "typeInfo": "Enum" }, "bevy_pbr::parallax::ParallaxMappingMethod": { "isComponent": false, "isResource": false, + "long_name": "bevy_pbr::parallax::ParallaxMappingMethod", "oneOf": [ { - "title": "Occlusion" + "long_name": "Occlusion" }, { "additionalProperties": false, + "long_name": "Relief", "properties": { "max_steps": { - "title": "max_steps", + "long_name": "max_steps", "type": { "$ref": "#/$defs/u32" } @@ -7434,13 +7436,11 @@ "max_steps" ], "short_name": "Relief", - "title": "Relief", "type": "object", "typeInfo": "Struct" } ], "short_name": "ParallaxMappingMethod", - "title": "bevy_pbr::parallax::ParallaxMappingMethod", "type": "object", "typeInfo": "Enum" }, @@ -7448,6 +7448,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_pbr::pbr_material::StandardMaterial", "properties": { "alpha_mode": { "type": { @@ -7621,7 +7622,6 @@ "deferred_lighting_pass_id" ], "short_name": "StandardMaterial", - "title": "bevy_pbr::pbr_material::StandardMaterial", "type": "object", "typeInfo": "Struct" }, @@ -7629,6 +7629,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::ssao::ScreenSpaceAmbientOcclusionSettings", "properties": { "quality_level": { "type": { @@ -7640,7 +7641,6 @@ "quality_level" ], "short_name": "ScreenSpaceAmbientOcclusionSettings", - "title": "bevy_pbr::ssao::ScreenSpaceAmbientOcclusionSettings", "type": "object", "typeInfo": "Struct" }, @@ -7648,10 +7648,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::wireframe::NoWireframe", "properties": {}, "required": [], "short_name": "NoWireframe", - "title": "bevy_pbr::wireframe::NoWireframe", "type": "object", "typeInfo": "Struct" }, @@ -7659,10 +7659,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::wireframe::Wireframe", "properties": {}, "required": [], "short_name": "Wireframe", - "title": "bevy_pbr::wireframe::Wireframe", "type": "object", "typeInfo": "Struct" }, @@ -7670,6 +7670,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_pbr::wireframe::WireframeColor", "properties": { "color": { "type": { @@ -7681,7 +7682,6 @@ "color" ], "short_name": "WireframeColor", - "title": "bevy_pbr::wireframe::WireframeColor", "type": "object", "typeInfo": "Struct" }, @@ -7689,6 +7689,7 @@ "additionalProperties": false, "isComponent": false, "isResource": true, + "long_name": "bevy_pbr::wireframe::WireframeConfig", "properties": { "default_color": { "type": { @@ -7706,16 +7707,17 @@ "default_color" ], "short_name": "WireframeConfig", - "title": "bevy_pbr::wireframe::WireframeConfig", "type": "object", "typeInfo": "Struct" }, "bevy_rapier3d::dynamics::rigid_body::AdditionalMassProperties": { "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::dynamics::rigid_body::AdditionalMassProperties", "oneOf": [ { "items": false, + "long_name": "Mass", "prefixItems": [ { "type": { @@ -7724,12 +7726,12 @@ } ], "short_name": "Mass", - "title": "Mass", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "MassProperties", "prefixItems": [ { "type": { @@ -7738,13 +7740,11 @@ } ], "short_name": "MassProperties", - "title": "MassProperties", "type": "array", "typeInfo": "Tuple" } ], "short_name": "AdditionalMassProperties", - "title": "bevy_rapier3d::dynamics::rigid_body::AdditionalMassProperties", "type": "object", "typeInfo": "Enum" }, @@ -7752,6 +7752,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::dynamics::rigid_body::Ccd", "properties": { "enabled": { "type": { @@ -7763,7 +7764,6 @@ "enabled" ], "short_name": "Ccd", - "title": "bevy_rapier3d::dynamics::rigid_body::Ccd", "type": "object", "typeInfo": "Struct" }, @@ -7771,6 +7771,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::dynamics::rigid_body::Damping", "properties": { "angular_damping": { "type": { @@ -7788,7 +7789,6 @@ "angular_damping" ], "short_name": "Damping", - "title": "bevy_rapier3d::dynamics::rigid_body::Damping", "type": "object", "typeInfo": "Struct" }, @@ -7796,6 +7796,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::dynamics::rigid_body::Dominance", "properties": { "groups": { "type": { @@ -7807,7 +7808,6 @@ "groups" ], "short_name": "Dominance", - "title": "bevy_rapier3d::dynamics::rigid_body::Dominance", "type": "object", "typeInfo": "Struct" }, @@ -7815,6 +7815,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::dynamics::rigid_body::ExternalForce", "properties": { "force": { "type": { @@ -7832,7 +7833,6 @@ "torque" ], "short_name": "ExternalForce", - "title": "bevy_rapier3d::dynamics::rigid_body::ExternalForce", "type": "object", "typeInfo": "Struct" }, @@ -7840,6 +7840,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::dynamics::rigid_body::ExternalImpulse", "properties": { "impulse": { "type": { @@ -7857,7 +7858,6 @@ "torque_impulse" ], "short_name": "ExternalImpulse", - "title": "bevy_rapier3d::dynamics::rigid_body::ExternalImpulse", "type": "object", "typeInfo": "Struct" }, @@ -7865,6 +7865,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_rapier3d::dynamics::rigid_body::GravityScale", "prefixItems": [ { "type": { @@ -7873,7 +7874,6 @@ } ], "short_name": "GravityScale", - "title": "bevy_rapier3d::dynamics::rigid_body::GravityScale", "type": "array", "typeInfo": "TupleStruct" }, @@ -7881,6 +7881,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_rapier3d::dynamics::rigid_body::LockedAxes", "prefixItems": [ { "type": { @@ -7889,7 +7890,6 @@ } ], "short_name": "LockedAxes", - "title": "bevy_rapier3d::dynamics::rigid_body::LockedAxes", "type": "array", "typeInfo": "TupleStruct" }, @@ -7897,6 +7897,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_rapier3d::dynamics::rigid_body::MassProperties", "properties": { "local_center_of_mass": { "type": { @@ -7926,13 +7927,13 @@ "principal_inertia" ], "short_name": "MassProperties", - "title": "bevy_rapier3d::dynamics::rigid_body::MassProperties", "type": "object", "typeInfo": "Struct" }, "bevy_rapier3d::dynamics::rigid_body::RigidBody": { "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::dynamics::rigid_body::RigidBody", "oneOf": [ "Dynamic", "Fixed", @@ -7940,7 +7941,6 @@ "KinematicVelocityBased" ], "short_name": "RigidBody", - "title": "bevy_rapier3d::dynamics::rigid_body::RigidBody", "type": "string", "typeInfo": "Enum" }, @@ -7948,6 +7948,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::dynamics::rigid_body::Sleeping", "properties": { "angular_threshold": { "type": { @@ -7971,7 +7972,6 @@ "sleeping" ], "short_name": "Sleeping", - "title": "bevy_rapier3d::dynamics::rigid_body::Sleeping", "type": "object", "typeInfo": "Struct" }, @@ -7979,6 +7979,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::dynamics::rigid_body::Velocity", "properties": { "angvel": { "type": { @@ -7996,7 +7997,6 @@ "angvel" ], "short_name": "Velocity", - "title": "bevy_rapier3d::dynamics::rigid_body::Velocity", "type": "object", "typeInfo": "Struct" }, @@ -8004,6 +8004,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_rapier3d::geometry::collider::CollidingEntities", "prefixItems": [ { "type": { @@ -8012,7 +8013,6 @@ } ], "short_name": "CollidingEntities", - "title": "bevy_rapier3d::geometry::collider::CollidingEntities", "type": "array", "typeInfo": "TupleStruct" }, @@ -8020,6 +8020,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::geometry::collider::CollisionGroups", "properties": { "filters": { "type": { @@ -8037,7 +8038,6 @@ "filters" ], "short_name": "CollisionGroups", - "title": "bevy_rapier3d::geometry::collider::CollisionGroups", "type": "object", "typeInfo": "Struct" }, @@ -8045,6 +8045,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_rapier3d::geometry::collider::ContactForceEventThreshold", "prefixItems": [ { "type": { @@ -8053,7 +8054,6 @@ } ], "short_name": "ContactForceEventThreshold", - "title": "bevy_rapier3d::geometry::collider::ContactForceEventThreshold", "type": "array", "typeInfo": "TupleStruct" }, @@ -8061,6 +8061,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::geometry::collider::Friction", "properties": { "coefficient": { "type": { @@ -8078,7 +8079,6 @@ "combine_rule" ], "short_name": "Friction", - "title": "bevy_rapier3d::geometry::collider::Friction", "type": "object", "typeInfo": "Struct" }, @@ -8086,6 +8086,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_rapier3d::geometry::collider::Group", "prefixItems": [ { "type": { @@ -8094,7 +8095,6 @@ } ], "short_name": "Group", - "title": "bevy_rapier3d::geometry::collider::Group", "type": "array", "typeInfo": "TupleStruct" }, @@ -8102,6 +8102,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::geometry::collider::Restitution", "properties": { "coefficient": { "type": { @@ -8119,7 +8120,6 @@ "combine_rule" ], "short_name": "Restitution", - "title": "bevy_rapier3d::geometry::collider::Restitution", "type": "object", "typeInfo": "Struct" }, @@ -8127,10 +8127,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::geometry::collider::Sensor", "properties": {}, "required": [], "short_name": "Sensor", - "title": "bevy_rapier3d::geometry::collider::Sensor", "type": "object", "typeInfo": "Struct" }, @@ -8138,6 +8138,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_rapier3d::geometry::collider::SolverGroups", "properties": { "filters": { "type": { @@ -8155,7 +8156,6 @@ "filters" ], "short_name": "SolverGroups", - "title": "bevy_rapier3d::geometry::collider::SolverGroups", "type": "object", "typeInfo": "Struct" }, @@ -8163,6 +8163,7 @@ "additionalProperties": false, "isComponent": false, "isResource": true, + "long_name": "bevy_rapier3d::render::DebugRenderContext", "properties": { "enabled": { "type": { @@ -8174,7 +8175,6 @@ "enabled" ], "short_name": "DebugRenderContext", - "title": "bevy_rapier3d::render::DebugRenderContext", "type": "object", "typeInfo": "Struct" }, @@ -8182,6 +8182,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_render::camera::camera::Camera", "properties": { "clear_color": { "type": { @@ -8222,40 +8223,41 @@ "clear_color" ], "short_name": "Camera", - "title": "bevy_render::camera::camera::Camera", "type": "object", "typeInfo": "Struct" }, "bevy_render::camera::camera::CameraMainTextureUsages": { "isComponent": true, "isResource": false, + "long_name": "bevy_render::camera::camera::CameraMainTextureUsages", "short_name": "CameraMainTextureUsages", - "title": "bevy_render::camera::camera::CameraMainTextureUsages", "type": "object", "typeInfo": "Value" }, "bevy_render::camera::camera::CameraRenderGraph": { "isComponent": true, "isResource": false, + "long_name": "bevy_render::camera::camera::CameraRenderGraph", "short_name": "CameraRenderGraph", - "title": "bevy_render::camera::camera::CameraRenderGraph", "type": "object", "typeInfo": "Value" }, "bevy_render::camera::camera::Exposure": { "isComponent": true, "isResource": false, + "long_name": "bevy_render::camera::camera::Exposure", "short_name": "Exposure", - "title": "bevy_render::camera::camera::Exposure", "type": "object", "typeInfo": "Value" }, "bevy_render::camera::camera::RenderTarget": { "isComponent": false, "isResource": false, + "long_name": "bevy_render::camera::camera::RenderTarget", "oneOf": [ { "items": false, + "long_name": "Window", "prefixItems": [ { "type": { @@ -8264,12 +8266,12 @@ } ], "short_name": "Window", - "title": "Window", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Image", "prefixItems": [ { "type": { @@ -8278,12 +8280,12 @@ } ], "short_name": "Image", - "title": "Image", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "TextureView", "prefixItems": [ { "type": { @@ -8292,13 +8294,11 @@ } ], "short_name": "TextureView", - "title": "TextureView", "type": "array", "typeInfo": "Tuple" } ], "short_name": "RenderTarget", - "title": "bevy_render::camera::camera::RenderTarget", "type": "object", "typeInfo": "Enum" }, @@ -8306,6 +8306,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_render::camera::camera::Viewport", "properties": { "depth": { "type": { @@ -8329,7 +8330,6 @@ "depth" ], "short_name": "Viewport", - "title": "bevy_render::camera::camera::Viewport", "type": "object", "typeInfo": "Struct" }, @@ -8337,6 +8337,7 @@ "isComponent": false, "isResource": true, "items": false, + "long_name": "bevy_render::camera::clear_color::ClearColor", "prefixItems": [ { "type": { @@ -8345,19 +8346,20 @@ } ], "short_name": "ClearColor", - "title": "bevy_render::camera::clear_color::ClearColor", "type": "array", "typeInfo": "TupleStruct" }, "bevy_render::camera::clear_color::ClearColorConfig": { "isComponent": false, "isResource": false, + "long_name": "bevy_render::camera::clear_color::ClearColorConfig", "oneOf": [ { - "title": "Default" + "long_name": "Default" }, { "items": false, + "long_name": "Custom", "prefixItems": [ { "type": { @@ -8366,16 +8368,14 @@ } ], "short_name": "Custom", - "title": "Custom", "type": "array", "typeInfo": "Tuple" }, { - "title": "None" + "long_name": "None" } ], "short_name": "ClearColorConfig", - "title": "bevy_render::camera::clear_color::ClearColorConfig", "type": "object", "typeInfo": "Enum" }, @@ -8383,6 +8383,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_render::camera::projection::OrthographicProjection", "properties": { "area": { "type": { @@ -8424,7 +8425,6 @@ "area" ], "short_name": "OrthographicProjection", - "title": "bevy_render::camera::projection::OrthographicProjection", "type": "object", "typeInfo": "Struct" }, @@ -8432,6 +8432,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_render::camera::projection::PerspectiveProjection", "properties": { "aspect_ratio": { "type": { @@ -8461,16 +8462,17 @@ "far" ], "short_name": "PerspectiveProjection", - "title": "bevy_render::camera::projection::PerspectiveProjection", "type": "object", "typeInfo": "Struct" }, "bevy_render::camera::projection::Projection": { "isComponent": true, "isResource": false, + "long_name": "bevy_render::camera::projection::Projection", "oneOf": [ { "items": false, + "long_name": "Perspective", "prefixItems": [ { "type": { @@ -8479,12 +8481,12 @@ } ], "short_name": "Perspective", - "title": "Perspective", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Orthographic", "prefixItems": [ { "type": { @@ -8493,31 +8495,31 @@ } ], "short_name": "Orthographic", - "title": "Orthographic", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Projection", - "title": "bevy_render::camera::projection::Projection", "type": "object", "typeInfo": "Enum" }, "bevy_render::camera::projection::ScalingMode": { "isComponent": false, "isResource": false, + "long_name": "bevy_render::camera::projection::ScalingMode", "oneOf": [ { "additionalProperties": false, + "long_name": "Fixed", "properties": { "height": { - "title": "height", + "long_name": "height", "type": { "$ref": "#/$defs/f32" } }, "width": { - "title": "width", + "long_name": "width", "type": { "$ref": "#/$defs/f32" } @@ -8528,12 +8530,12 @@ "height" ], "short_name": "Fixed", - "title": "Fixed", "type": "object", "typeInfo": "Struct" }, { "items": false, + "long_name": "WindowSize", "prefixItems": [ { "type": { @@ -8542,21 +8544,21 @@ } ], "short_name": "WindowSize", - "title": "WindowSize", "type": "array", "typeInfo": "Tuple" }, { "additionalProperties": false, + "long_name": "AutoMin", "properties": { "min_height": { - "title": "min_height", + "long_name": "min_height", "type": { "$ref": "#/$defs/f32" } }, "min_width": { - "title": "min_width", + "long_name": "min_width", "type": { "$ref": "#/$defs/f32" } @@ -8567,21 +8569,21 @@ "min_height" ], "short_name": "AutoMin", - "title": "AutoMin", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "AutoMax", "properties": { "max_height": { - "title": "max_height", + "long_name": "max_height", "type": { "$ref": "#/$defs/f32" } }, "max_width": { - "title": "max_width", + "long_name": "max_width", "type": { "$ref": "#/$defs/f32" } @@ -8592,12 +8594,12 @@ "max_height" ], "short_name": "AutoMax", - "title": "AutoMax", "type": "object", "typeInfo": "Struct" }, { "items": false, + "long_name": "FixedVertical", "prefixItems": [ { "type": { @@ -8606,12 +8608,12 @@ } ], "short_name": "FixedVertical", - "title": "FixedVertical", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "FixedHorizontal", "prefixItems": [ { "type": { @@ -8620,43 +8622,43 @@ } ], "short_name": "FixedHorizontal", - "title": "FixedHorizontal", "type": "array", "typeInfo": "Tuple" } ], "short_name": "ScalingMode", - "title": "bevy_render::camera::projection::ScalingMode", "type": "object", "typeInfo": "Enum" }, "bevy_render::color::Color": { "isComponent": false, "isResource": false, + "long_name": "bevy_render::color::Color", "oneOf": [ { "additionalProperties": false, + "long_name": "Rgba", "properties": { "alpha": { - "title": "alpha", + "long_name": "alpha", "type": { "$ref": "#/$defs/f32" } }, "blue": { - "title": "blue", + "long_name": "blue", "type": { "$ref": "#/$defs/f32" } }, "green": { - "title": "green", + "long_name": "green", "type": { "$ref": "#/$defs/f32" } }, "red": { - "title": "red", + "long_name": "red", "type": { "$ref": "#/$defs/f32" } @@ -8669,33 +8671,33 @@ "alpha" ], "short_name": "Rgba", - "title": "Rgba", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "RgbaLinear", "properties": { "alpha": { - "title": "alpha", + "long_name": "alpha", "type": { "$ref": "#/$defs/f32" } }, "blue": { - "title": "blue", + "long_name": "blue", "type": { "$ref": "#/$defs/f32" } }, "green": { - "title": "green", + "long_name": "green", "type": { "$ref": "#/$defs/f32" } }, "red": { - "title": "red", + "long_name": "red", "type": { "$ref": "#/$defs/f32" } @@ -8708,33 +8710,33 @@ "alpha" ], "short_name": "RgbaLinear", - "title": "RgbaLinear", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Hsla", "properties": { "alpha": { - "title": "alpha", + "long_name": "alpha", "type": { "$ref": "#/$defs/f32" } }, "hue": { - "title": "hue", + "long_name": "hue", "type": { "$ref": "#/$defs/f32" } }, "lightness": { - "title": "lightness", + "long_name": "lightness", "type": { "$ref": "#/$defs/f32" } }, "saturation": { - "title": "saturation", + "long_name": "saturation", "type": { "$ref": "#/$defs/f32" } @@ -8747,33 +8749,33 @@ "alpha" ], "short_name": "Hsla", - "title": "Hsla", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "Lcha", "properties": { "alpha": { - "title": "alpha", + "long_name": "alpha", "type": { "$ref": "#/$defs/f32" } }, "chroma": { - "title": "chroma", + "long_name": "chroma", "type": { "$ref": "#/$defs/f32" } }, "hue": { - "title": "hue", + "long_name": "hue", "type": { "$ref": "#/$defs/f32" } }, "lightness": { - "title": "lightness", + "long_name": "lightness", "type": { "$ref": "#/$defs/f32" } @@ -8786,13 +8788,11 @@ "alpha" ], "short_name": "Lcha", - "title": "Lcha", "type": "object", "typeInfo": "Struct" } ], "short_name": "Color", - "title": "bevy_render::color::Color", "type": "object", "typeInfo": "Enum" }, @@ -8800,6 +8800,7 @@ "additionalProperties": false, "isComponent": false, "isResource": true, + "long_name": "bevy_render::globals::GlobalsUniform", "properties": { "delta_time": { "type": { @@ -8823,16 +8824,17 @@ "frame_count" ], "short_name": "GlobalsUniform", - "title": "bevy_render::globals::GlobalsUniform", "type": "object", "typeInfo": "Struct" }, "bevy_render::mesh::mesh::Indices": { "isComponent": false, "isResource": false, + "long_name": "bevy_render::mesh::mesh::Indices", "oneOf": [ { "items": false, + "long_name": "U16", "prefixItems": [ { "type": { @@ -8841,12 +8843,12 @@ } ], "short_name": "U16", - "title": "U16", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "U32", "prefixItems": [ { "type": { @@ -8855,13 +8857,11 @@ } ], "short_name": "U32", - "title": "U32", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Indices", - "title": "bevy_render::mesh::mesh::Indices", "type": "object", "typeInfo": "Enum" }, @@ -8869,6 +8869,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_render::mesh::mesh::Mesh", "properties": { "asset_usage": { "type": { @@ -8895,7 +8896,6 @@ "asset_usage" ], "short_name": "Mesh", - "title": "bevy_render::mesh::mesh::Mesh", "type": "object", "typeInfo": "Struct" }, @@ -8903,6 +8903,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_render::mesh::mesh::skinning::SkinnedMesh", "properties": { "inverse_bindposes": { "type": { @@ -8920,7 +8921,6 @@ "joints" ], "short_name": "SkinnedMesh", - "title": "bevy_render::mesh::mesh::skinning::SkinnedMesh", "type": "object", "typeInfo": "Struct" }, @@ -8928,6 +8928,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_render::mesh::morph::MeshMorphWeights", "properties": { "weights": { "type": { @@ -8939,7 +8940,6 @@ "weights" ], "short_name": "MeshMorphWeights", - "title": "bevy_render::mesh::morph::MeshMorphWeights", "type": "object", "typeInfo": "Struct" }, @@ -8947,6 +8947,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_render::mesh::morph::MorphWeights", "properties": { "first_mesh": { "type": { @@ -8963,7 +8964,6 @@ "weights" ], "short_name": "MorphWeights", - "title": "bevy_render::mesh::morph::MorphWeights", "type": "object", "typeInfo": "Struct" }, @@ -8971,6 +8971,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_render::primitives::Aabb", "properties": { "center": { "type": { @@ -8988,7 +8989,6 @@ "half_extents" ], "short_name": "Aabb", - "title": "bevy_render::primitives::Aabb", "type": "object", "typeInfo": "Struct" }, @@ -8996,10 +8996,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_render::primitives::CascadesFrusta", "properties": {}, "required": [], "short_name": "CascadesFrusta", - "title": "bevy_render::primitives::CascadesFrusta", "type": "object", "typeInfo": "Struct" }, @@ -9007,10 +9007,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_render::primitives::CubemapFrusta", "properties": {}, "required": [], "short_name": "CubemapFrusta", - "title": "bevy_render::primitives::CubemapFrusta", "type": "object", "typeInfo": "Struct" }, @@ -9018,18 +9018,18 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_render::primitives::Frustum", "properties": {}, "required": [], "short_name": "Frustum", - "title": "bevy_render::primitives::Frustum", "type": "object", "typeInfo": "Struct" }, "bevy_render::texture::image::Image": { "isComponent": false, "isResource": false, + "long_name": "bevy_render::texture::image::Image", "short_name": "Image", - "title": "bevy_render::texture::image::Image", "type": "object", "typeInfo": "Value" }, @@ -9037,6 +9037,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_render::view::ColorGrading", "properties": { "exposure": { "type": { @@ -9066,13 +9067,13 @@ "post_saturation" ], "short_name": "ColorGrading", - "title": "bevy_render::view::ColorGrading", "type": "object", "typeInfo": "Struct" }, "bevy_render::view::Msaa": { "isComponent": false, "isResource": true, + "long_name": "bevy_render::view::Msaa", "oneOf": [ "Off", "Sample2", @@ -9080,7 +9081,6 @@ "Sample8" ], "short_name": "Msaa", - "title": "bevy_render::view::Msaa", "type": "string", "typeInfo": "Enum" }, @@ -9088,6 +9088,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_render::view::visibility::InheritedVisibility", "prefixItems": [ { "type": { @@ -9096,7 +9097,6 @@ } ], "short_name": "InheritedVisibility", - "title": "bevy_render::view::visibility::InheritedVisibility", "type": "array", "typeInfo": "TupleStruct" }, @@ -9104,10 +9104,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_render::view::visibility::NoFrustumCulling", "properties": {}, "required": [], "short_name": "NoFrustumCulling", - "title": "bevy_render::view::visibility::NoFrustumCulling", "type": "object", "typeInfo": "Struct" }, @@ -9115,6 +9115,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_render::view::visibility::ViewVisibility", "prefixItems": [ { "type": { @@ -9123,20 +9124,19 @@ } ], "short_name": "ViewVisibility", - "title": "bevy_render::view::visibility::ViewVisibility", "type": "array", "typeInfo": "TupleStruct" }, "bevy_render::view::visibility::Visibility": { "isComponent": true, "isResource": false, + "long_name": "bevy_render::view::visibility::Visibility", "oneOf": [ "Inherited", "Hidden", "Visible" ], "short_name": "Visibility", - "title": "bevy_render::view::visibility::Visibility", "type": "string", "typeInfo": "Enum" }, @@ -9144,10 +9144,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_render::view::visibility::VisibleEntities", "properties": {}, "required": [], "short_name": "VisibleEntities", - "title": "bevy_render::view::visibility::VisibleEntities", "type": "object", "typeInfo": "Struct" }, @@ -9155,6 +9155,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_render::view::visibility::render_layers::RenderLayers", "prefixItems": [ { "type": { @@ -9163,7 +9164,6 @@ } ], "short_name": "RenderLayers", - "title": "bevy_render::view::visibility::render_layers::RenderLayers", "type": "array", "typeInfo": "TupleStruct" }, @@ -9171,6 +9171,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_sprite::mesh2d::color_material::ColorMaterial", "properties": { "color": { "type": { @@ -9187,7 +9188,6 @@ "color" ], "short_name": "ColorMaterial", - "title": "bevy_sprite::mesh2d::color_material::ColorMaterial", "type": "object", "typeInfo": "Struct" }, @@ -9195,6 +9195,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_sprite::mesh2d::mesh::Mesh2dHandle", "prefixItems": [ { "type": { @@ -9203,43 +9204,44 @@ } ], "short_name": "Mesh2dHandle", - "title": "bevy_sprite::mesh2d::mesh::Mesh2dHandle", "type": "array", "typeInfo": "TupleStruct" }, "bevy_sprite::sprite::Anchor": { "isComponent": false, "isResource": false, + "long_name": "bevy_sprite::sprite::Anchor", "oneOf": [ { - "title": "Center" + "long_name": "Center" }, { - "title": "BottomLeft" + "long_name": "BottomLeft" }, { - "title": "BottomCenter" + "long_name": "BottomCenter" }, { - "title": "BottomRight" + "long_name": "BottomRight" }, { - "title": "CenterLeft" + "long_name": "CenterLeft" }, { - "title": "CenterRight" + "long_name": "CenterRight" }, { - "title": "TopLeft" + "long_name": "TopLeft" }, { - "title": "TopCenter" + "long_name": "TopCenter" }, { - "title": "TopRight" + "long_name": "TopRight" }, { "items": false, + "long_name": "Custom", "prefixItems": [ { "type": { @@ -9248,22 +9250,22 @@ } ], "short_name": "Custom", - "title": "Custom", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Anchor", - "title": "bevy_sprite::sprite::Anchor", "type": "object", "typeInfo": "Enum" }, "bevy_sprite::sprite::ImageScaleMode": { "isComponent": true, "isResource": false, + "long_name": "bevy_sprite::sprite::ImageScaleMode", "oneOf": [ { "items": false, + "long_name": "Sliced", "prefixItems": [ { "type": { @@ -9272,27 +9274,27 @@ } ], "short_name": "Sliced", - "title": "Sliced", "type": "array", "typeInfo": "Tuple" }, { "additionalProperties": false, + "long_name": "Tiled", "properties": { "stretch_value": { - "title": "stretch_value", + "long_name": "stretch_value", "type": { "$ref": "#/$defs/f32" } }, "tile_x": { - "title": "tile_x", + "long_name": "tile_x", "type": { "$ref": "#/$defs/bool" } }, "tile_y": { - "title": "tile_y", + "long_name": "tile_y", "type": { "$ref": "#/$defs/bool" } @@ -9304,13 +9306,11 @@ "stretch_value" ], "short_name": "Tiled", - "title": "Tiled", "type": "object", "typeInfo": "Struct" } ], "short_name": "ImageScaleMode", - "title": "bevy_sprite::sprite::ImageScaleMode", "type": "object", "typeInfo": "Enum" }, @@ -9318,6 +9318,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_sprite::sprite::Sprite", "properties": { "anchor": { "type": { @@ -9357,7 +9358,6 @@ "anchor" ], "short_name": "Sprite", - "title": "bevy_sprite::sprite::Sprite", "type": "object", "typeInfo": "Struct" }, @@ -9365,6 +9365,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_sprite::texture_atlas::TextureAtlas", "properties": { "index": { "type": { @@ -9382,7 +9383,6 @@ "index" ], "short_name": "TextureAtlas", - "title": "bevy_sprite::texture_atlas::TextureAtlas", "type": "object", "typeInfo": "Struct" }, @@ -9390,6 +9390,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_sprite::texture_atlas::TextureAtlasLayout", "properties": { "size": { "type": { @@ -9412,7 +9413,6 @@ "textures" ], "short_name": "TextureAtlasLayout", - "title": "bevy_sprite::texture_atlas::TextureAtlasLayout", "type": "object", "typeInfo": "Struct" }, @@ -9420,6 +9420,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_sprite::texture_slice::slicer::TextureSlicer", "properties": { "border": { "type": { @@ -9449,7 +9450,6 @@ "max_corner_scale" ], "short_name": "TextureSlicer", - "title": "bevy_sprite::texture_slice::slicer::TextureSlicer", "type": "object", "typeInfo": "Struct" }, @@ -9457,6 +9457,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_text::pipeline::TextLayoutInfo", "properties": { "glyphs": { "type": { @@ -9474,7 +9475,6 @@ "logical_size" ], "short_name": "TextLayoutInfo", - "title": "bevy_text::pipeline::TextLayoutInfo", "type": "object", "typeInfo": "Struct" }, @@ -9482,6 +9482,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_text::text2d::Text2dBounds", "properties": { "size": { "type": { @@ -9493,33 +9494,32 @@ "size" ], "short_name": "Text2dBounds", - "title": "bevy_text::text2d::Text2dBounds", "type": "object", "typeInfo": "Struct" }, "bevy_text::text::BreakLineOn": { "isComponent": false, "isResource": false, + "long_name": "bevy_text::text::BreakLineOn", "oneOf": [ "WordBoundary", "AnyCharacter", "NoWrap" ], "short_name": "BreakLineOn", - "title": "bevy_text::text::BreakLineOn", "type": "string", "typeInfo": "Enum" }, "bevy_text::text::JustifyText": { "isComponent": false, "isResource": false, + "long_name": "bevy_text::text::JustifyText", "oneOf": [ "Left", "Center", "Right" ], "short_name": "JustifyText", - "title": "bevy_text::text::JustifyText", "type": "string", "typeInfo": "Enum" }, @@ -9527,6 +9527,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_text::text::Text", "properties": { "justify": { "type": { @@ -9550,7 +9551,6 @@ "linebreak_behavior" ], "short_name": "Text", - "title": "bevy_text::text::Text", "type": "object", "typeInfo": "Struct" }, @@ -9558,6 +9558,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_text::text::TextSection", "properties": { "style": { "type": { @@ -9575,7 +9576,6 @@ "style" ], "short_name": "TextSection", - "title": "bevy_text::text::TextSection", "type": "object", "typeInfo": "Struct" }, @@ -9583,6 +9583,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_text::text::TextStyle", "properties": { "color": { "type": { @@ -9606,7 +9607,6 @@ "color" ], "short_name": "TextStyle", - "title": "bevy_text::text::TextStyle", "type": "object", "typeInfo": "Struct" }, @@ -9614,6 +9614,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_time::stopwatch::Stopwatch", "properties": { "elapsed": { "type": { @@ -9631,7 +9632,6 @@ "paused" ], "short_name": "Stopwatch", - "title": "bevy_time::stopwatch::Stopwatch", "type": "object", "typeInfo": "Struct" }, @@ -9639,6 +9639,7 @@ "additionalProperties": false, "isComponent": false, "isResource": true, + "long_name": "bevy_time::time::Time<()>", "properties": { "context": { "type": { @@ -9710,7 +9711,6 @@ "elapsed_seconds_wrapped_f64" ], "short_name": "Time<()>", - "title": "bevy_time::time::Time<()>", "type": "object", "typeInfo": "Struct" }, @@ -9718,6 +9718,7 @@ "additionalProperties": false, "isComponent": false, "isResource": true, + "long_name": "bevy_time::time::Time", "properties": { "context": { "type": { @@ -9789,7 +9790,6 @@ "elapsed_seconds_wrapped_f64" ], "short_name": "Time", - "title": "bevy_time::time::Time", "type": "object", "typeInfo": "Struct" }, @@ -9797,6 +9797,7 @@ "additionalProperties": false, "isComponent": false, "isResource": true, + "long_name": "bevy_time::time::Time", "properties": { "context": { "type": { @@ -9868,7 +9869,6 @@ "elapsed_seconds_wrapped_f64" ], "short_name": "Time", - "title": "bevy_time::time::Time", "type": "object", "typeInfo": "Struct" }, @@ -9876,6 +9876,7 @@ "additionalProperties": false, "isComponent": false, "isResource": true, + "long_name": "bevy_time::time::Time", "properties": { "context": { "type": { @@ -9947,7 +9948,6 @@ "elapsed_seconds_wrapped_f64" ], "short_name": "Time", - "title": "bevy_time::time::Time", "type": "object", "typeInfo": "Struct" }, @@ -9955,6 +9955,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_time::timer::Timer", "properties": { "duration": { "type": { @@ -9990,7 +9991,6 @@ "times_finished_this_tick" ], "short_name": "Timer", - "title": "bevy_time::timer::Timer", "type": "object", "typeInfo": "Struct" }, @@ -9998,6 +9998,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_time::virt::Virtual", "properties": { "effective_speed": { "type": { @@ -10027,7 +10028,6 @@ "effective_speed" ], "short_name": "Virtual", - "title": "bevy_time::virt::Virtual", "type": "object", "typeInfo": "Struct" }, @@ -10035,6 +10035,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_transform::components::global_transform::GlobalTransform", "prefixItems": [ { "type": { @@ -10043,7 +10044,6 @@ } ], "short_name": "GlobalTransform", - "title": "bevy_transform::components::global_transform::GlobalTransform", "type": "array", "typeInfo": "TupleStruct" }, @@ -10051,6 +10051,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_transform::components::transform::Transform", "properties": { "rotation": { "type": { @@ -10074,7 +10075,6 @@ "scale" ], "short_name": "Transform", - "title": "bevy_transform::components::transform::Transform", "type": "object", "typeInfo": "Struct" }, @@ -10082,6 +10082,7 @@ "isComponent": false, "isResource": false, "items": false, + "long_name": "bevy_ui::UiScale", "prefixItems": [ { "type": { @@ -10090,32 +10091,31 @@ } ], "short_name": "UiScale", - "title": "bevy_ui::UiScale", "type": "array", "typeInfo": "TupleStruct" }, "bevy_ui::focus::FocusPolicy": { "isComponent": true, "isResource": false, + "long_name": "bevy_ui::focus::FocusPolicy", "oneOf": [ "Block", "Pass" ], "short_name": "FocusPolicy", - "title": "bevy_ui::focus::FocusPolicy", "type": "string", "typeInfo": "Enum" }, "bevy_ui::focus::Interaction": { "isComponent": true, "isResource": false, + "long_name": "bevy_ui::focus::Interaction", "oneOf": [ "Pressed", "Hovered", "None" ], "short_name": "Interaction", - "title": "bevy_ui::focus::Interaction", "type": "string", "typeInfo": "Enum" }, @@ -10123,6 +10123,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_ui::focus::RelativeCursorPosition", "properties": { "normalized": { "type": { @@ -10139,7 +10140,6 @@ "normalized_visible_node_rect" ], "short_name": "RelativeCursorPosition", - "title": "bevy_ui::focus::RelativeCursorPosition", "type": "object", "typeInfo": "Struct" }, @@ -10147,6 +10147,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_ui::geometry::UiRect", "properties": { "bottom": { "type": { @@ -10176,19 +10177,20 @@ "bottom" ], "short_name": "UiRect", - "title": "bevy_ui::geometry::UiRect", "type": "object", "typeInfo": "Struct" }, "bevy_ui::geometry::Val": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::geometry::Val", "oneOf": [ { - "title": "Auto" + "long_name": "Auto" }, { "items": false, + "long_name": "Px", "prefixItems": [ { "type": { @@ -10197,12 +10199,12 @@ } ], "short_name": "Px", - "title": "Px", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Percent", "prefixItems": [ { "type": { @@ -10211,12 +10213,12 @@ } ], "short_name": "Percent", - "title": "Percent", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Vw", "prefixItems": [ { "type": { @@ -10225,12 +10227,12 @@ } ], "short_name": "Vw", - "title": "Vw", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Vh", "prefixItems": [ { "type": { @@ -10239,12 +10241,12 @@ } ], "short_name": "Vh", - "title": "Vh", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "VMin", "prefixItems": [ { "type": { @@ -10253,12 +10255,12 @@ } ], "short_name": "VMin", - "title": "VMin", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "VMax", "prefixItems": [ { "type": { @@ -10267,13 +10269,11 @@ } ], "short_name": "VMax", - "title": "VMax", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Val", - "title": "bevy_ui::geometry::Val", "type": "object", "typeInfo": "Enum" }, @@ -10281,16 +10281,17 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_ui::measurement::ContentSize", "properties": {}, "required": [], "short_name": "ContentSize", - "title": "bevy_ui::measurement::ContentSize", "type": "object", "typeInfo": "Struct" }, "bevy_ui::ui_node::AlignContent": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::AlignContent", "oneOf": [ "Default", "Start", @@ -10304,13 +10305,13 @@ "SpaceAround" ], "short_name": "AlignContent", - "title": "bevy_ui::ui_node::AlignContent", "type": "string", "typeInfo": "Enum" }, "bevy_ui::ui_node::AlignItems": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::AlignItems", "oneOf": [ "Default", "Start", @@ -10322,13 +10323,13 @@ "Stretch" ], "short_name": "AlignItems", - "title": "bevy_ui::ui_node::AlignItems", "type": "string", "typeInfo": "Enum" }, "bevy_ui::ui_node::AlignSelf": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::AlignSelf", "oneOf": [ "Auto", "Start", @@ -10340,7 +10341,6 @@ "Stretch" ], "short_name": "AlignSelf", - "title": "bevy_ui::ui_node::AlignSelf", "type": "string", "typeInfo": "Enum" }, @@ -10348,6 +10348,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_ui::ui_node::BackgroundColor", "prefixItems": [ { "type": { @@ -10356,7 +10357,6 @@ } ], "short_name": "BackgroundColor", - "title": "bevy_ui::ui_node::BackgroundColor", "type": "array", "typeInfo": "TupleStruct" }, @@ -10364,6 +10364,7 @@ "isComponent": true, "isResource": false, "items": false, + "long_name": "bevy_ui::ui_node::BorderColor", "prefixItems": [ { "type": { @@ -10372,7 +10373,6 @@ } ], "short_name": "BorderColor", - "title": "bevy_ui::ui_node::BorderColor", "type": "array", "typeInfo": "TupleStruct" }, @@ -10380,6 +10380,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_ui::ui_node::CalculatedClip", "properties": { "clip": { "type": { @@ -10391,39 +10392,39 @@ "clip" ], "short_name": "CalculatedClip", - "title": "bevy_ui::ui_node::CalculatedClip", "type": "object", "typeInfo": "Struct" }, "bevy_ui::ui_node::Direction": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::Direction", "oneOf": [ "Inherit", "LeftToRight", "RightToLeft" ], "short_name": "Direction", - "title": "bevy_ui::ui_node::Direction", "type": "string", "typeInfo": "Enum" }, "bevy_ui::ui_node::Display": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::Display", "oneOf": [ "Flex", "Grid", "None" ], "short_name": "Display", - "title": "bevy_ui::ui_node::Display", "type": "string", "typeInfo": "Enum" }, "bevy_ui::ui_node::FlexDirection": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::FlexDirection", "oneOf": [ "Row", "Column", @@ -10431,26 +10432,26 @@ "ColumnReverse" ], "short_name": "FlexDirection", - "title": "bevy_ui::ui_node::FlexDirection", "type": "string", "typeInfo": "Enum" }, "bevy_ui::ui_node::FlexWrap": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::FlexWrap", "oneOf": [ "NoWrap", "Wrap", "WrapReverse" ], "short_name": "FlexWrap", - "title": "bevy_ui::ui_node::FlexWrap", "type": "string", "typeInfo": "Enum" }, "bevy_ui::ui_node::GridAutoFlow": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::GridAutoFlow", "oneOf": [ "Row", "Column", @@ -10458,7 +10459,6 @@ "ColumnDense" ], "short_name": "GridAutoFlow", - "title": "bevy_ui::ui_node::GridAutoFlow", "type": "string", "typeInfo": "Enum" }, @@ -10466,6 +10466,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::GridPlacement", "properties": { "end": { "type": { @@ -10485,7 +10486,6 @@ }, "required": [], "short_name": "GridPlacement", - "title": "bevy_ui::ui_node::GridPlacement", "type": "object", "typeInfo": "Struct" }, @@ -10493,6 +10493,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::GridTrack", "properties": { "max_sizing_function": { "type": { @@ -10510,13 +10511,13 @@ "max_sizing_function" ], "short_name": "GridTrack", - "title": "bevy_ui::ui_node::GridTrack", "type": "object", "typeInfo": "Struct" }, "bevy_ui::ui_node::JustifyContent": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::JustifyContent", "oneOf": [ "Default", "Start", @@ -10530,13 +10531,13 @@ "SpaceAround" ], "short_name": "JustifyContent", - "title": "bevy_ui::ui_node::JustifyContent", "type": "string", "typeInfo": "Enum" }, "bevy_ui::ui_node::JustifyItems": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::JustifyItems", "oneOf": [ "Default", "Start", @@ -10546,13 +10547,13 @@ "Stretch" ], "short_name": "JustifyItems", - "title": "bevy_ui::ui_node::JustifyItems", "type": "string", "typeInfo": "Enum" }, "bevy_ui::ui_node::JustifySelf": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::JustifySelf", "oneOf": [ "Auto", "Start", @@ -10562,7 +10563,6 @@ "Stretch" ], "short_name": "JustifySelf", - "title": "bevy_ui::ui_node::JustifySelf", "type": "string", "typeInfo": "Enum" }, @@ -10570,6 +10570,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_ui::ui_node::Node", "properties": { "calculated_size": { "type": { @@ -10605,7 +10606,6 @@ "unrounded_size" ], "short_name": "Node", - "title": "bevy_ui::ui_node::Node", "type": "object", "typeInfo": "Struct" }, @@ -10613,6 +10613,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_ui::ui_node::Outline", "properties": { "color": { "type": { @@ -10636,7 +10637,6 @@ "color" ], "short_name": "Outline", - "title": "bevy_ui::ui_node::Outline", "type": "object", "typeInfo": "Struct" }, @@ -10644,6 +10644,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::Overflow", "properties": { "x": { "type": { @@ -10661,31 +10662,30 @@ "y" ], "short_name": "Overflow", - "title": "bevy_ui::ui_node::Overflow", "type": "object", "typeInfo": "Struct" }, "bevy_ui::ui_node::OverflowAxis": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::OverflowAxis", "oneOf": [ "Visible", "Clip" ], "short_name": "OverflowAxis", - "title": "bevy_ui::ui_node::OverflowAxis", "type": "string", "typeInfo": "Enum" }, "bevy_ui::ui_node::PositionType": { "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::PositionType", "oneOf": [ "Relative", "Absolute" ], "short_name": "PositionType", - "title": "bevy_ui::ui_node::PositionType", "type": "string", "typeInfo": "Enum" }, @@ -10693,6 +10693,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_ui::ui_node::RepeatedGridTrack", "properties": { "repetition": { "type": { @@ -10710,7 +10711,6 @@ "tracks" ], "short_name": "RepeatedGridTrack", - "title": "bevy_ui::ui_node::RepeatedGridTrack", "type": "object", "typeInfo": "Struct" }, @@ -10718,6 +10718,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_ui::ui_node::Style", "properties": { "align_content": { "type": { @@ -10950,7 +10951,6 @@ "grid_column" ], "short_name": "Style", - "title": "bevy_ui::ui_node::Style", "type": "object", "typeInfo": "Struct" }, @@ -10958,6 +10958,7 @@ "isComponent": false, "isResource": false, "items": false, + "long_name": "bevy_ui::ui_node::TargetCamera", "prefixItems": [ { "type": { @@ -10966,7 +10967,6 @@ } ], "short_name": "TargetCamera", - "title": "bevy_ui::ui_node::TargetCamera", "type": "array", "typeInfo": "TupleStruct" }, @@ -10974,6 +10974,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_ui::ui_node::UiImage", "properties": { "flip_x": { "type": { @@ -10997,16 +10998,17 @@ "flip_y" ], "short_name": "UiImage", - "title": "bevy_ui::ui_node::UiImage", "type": "object", "typeInfo": "Struct" }, "bevy_ui::ui_node::ZIndex": { "isComponent": true, "isResource": false, + "long_name": "bevy_ui::ui_node::ZIndex", "oneOf": [ { "items": false, + "long_name": "Local", "prefixItems": [ { "type": { @@ -11015,12 +11017,12 @@ } ], "short_name": "Local", - "title": "Local", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "Global", "prefixItems": [ { "type": { @@ -11029,13 +11031,11 @@ } ], "short_name": "Global", - "title": "Global", "type": "array", "typeInfo": "Tuple" } ], "short_name": "ZIndex", - "title": "bevy_ui::ui_node::ZIndex", "type": "object", "typeInfo": "Enum" }, @@ -11043,10 +11043,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_ui::widget::button::Button", "properties": {}, "required": [], "short_name": "Button", - "title": "bevy_ui::widget::button::Button", "type": "object", "typeInfo": "Struct" }, @@ -11054,6 +11054,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_ui::widget::image::UiImageSize", "properties": { "size": { "type": { @@ -11065,7 +11066,6 @@ "size" ], "short_name": "UiImageSize", - "title": "bevy_ui::widget::image::UiImageSize", "type": "object", "typeInfo": "Struct" }, @@ -11073,10 +11073,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_ui::widget::label::Label", "properties": {}, "required": [], "short_name": "Label", - "title": "bevy_ui::widget::label::Label", "type": "object", "typeInfo": "Struct" }, @@ -11084,6 +11084,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_ui::widget::text::TextFlags", "properties": { "needs_new_measure_func": { "type": { @@ -11101,39 +11102,38 @@ "needs_recompute" ], "short_name": "TextFlags", - "title": "bevy_ui::widget::text::TextFlags", "type": "object", "typeInfo": "Struct" }, "bevy_utils::Duration": { "isComponent": false, "isResource": false, + "long_name": "bevy_utils::Duration", "short_name": "Duration", - "title": "bevy_utils::Duration", "type": "object", "typeInfo": "Value" }, "bevy_utils::HashSet": { "isComponent": false, "isResource": false, + "long_name": "bevy_utils::HashSet", "short_name": "HashSet", - "title": "bevy_utils::HashSet", "type": "object", "typeInfo": "Value" }, "bevy_utils::Instant": { "isComponent": false, "isResource": false, + "long_name": "bevy_utils::Instant", "short_name": "Instant", - "title": "bevy_utils::Instant", "type": "object", "typeInfo": "Value" }, "bevy_utils::Uuid": { "isComponent": false, "isResource": false, + "long_name": "bevy_utils::Uuid", "short_name": "Uuid", - "title": "bevy_utils::Uuid", "type": "object", "typeInfo": "Value" }, @@ -11145,8 +11145,8 @@ }, "isComponent": false, "isResource": false, + "long_name": "bevy_utils::hashbrown::HashMap", "short_name": "HashMap", - "title": "bevy_utils::hashbrown::HashMap", "type": "object", "typeInfo": "Map" }, @@ -11158,8 +11158,8 @@ }, "isComponent": false, "isResource": false, + "long_name": "bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>", "short_name": "HashMap, DefaultHashBuilder>", - "title": "bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>", "type": "object", "typeInfo": "Map" }, @@ -11171,8 +11171,8 @@ }, "isComponent": false, "isResource": false, + "long_name": "bevy_utils::hashbrown::HashMap", "short_name": "HashMap", - "title": "bevy_utils::hashbrown::HashMap", "type": "object", "typeInfo": "Map" }, @@ -11184,8 +11184,8 @@ }, "isComponent": false, "isResource": false, + "long_name": "bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>", "short_name": "HashMap, DefaultHashBuilder>, DefaultHashBuilder>", - "title": "bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>", "type": "object", "typeInfo": "Map" }, @@ -11197,8 +11197,8 @@ }, "isComponent": false, "isResource": false, + "long_name": "bevy_utils::hashbrown::HashMap", "short_name": "HashMap", - "title": "bevy_utils::hashbrown::HashMap", "type": "object", "typeInfo": "Map" }, @@ -11210,8 +11210,8 @@ }, "isComponent": false, "isResource": false, + "long_name": "bevy_utils::hashbrown::HashMap", "short_name": "HashMap", - "title": "bevy_utils::hashbrown::HashMap", "type": "object", "typeInfo": "Map" }, @@ -11223,8 +11223,8 @@ }, "isComponent": false, "isResource": false, + "long_name": "bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>", "short_name": "HashMap, DefaultHashBuilder>", - "title": "bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>", "type": "object", "typeInfo": "Map" }, @@ -11236,8 +11236,8 @@ }, "isComponent": false, "isResource": false, + "long_name": "bevy_utils::hashbrown::HashMap", "short_name": "HashMap", - "title": "bevy_utils::hashbrown::HashMap", "type": "object", "typeInfo": "Map" }, @@ -11249,14 +11249,15 @@ "$ref": "#/$defs/bevy_ecs::entity::Entity" } }, + "long_name": "bevy_utils::smallvec::SmallVec<[bevy_ecs::entity::Entity; 8]>", "short_name": "SmallVec<[Entity; 8]>", - "title": "bevy_utils::smallvec::SmallVec<[bevy_ecs::entity::Entity; 8]>", "type": "array", "typeInfo": "List" }, "bevy_window::cursor::CursorIcon": { "isComponent": false, "isResource": false, + "long_name": "bevy_window::cursor::CursorIcon", "oneOf": [ "Default", "ContextMenu", @@ -11294,20 +11295,19 @@ "ZoomOut" ], "short_name": "CursorIcon", - "title": "bevy_window::cursor::CursorIcon", "type": "string", "typeInfo": "Enum" }, "bevy_window::event::ApplicationLifetime": { "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::ApplicationLifetime", "oneOf": [ "Started", "Suspended", "Resumed" ], "short_name": "ApplicationLifetime", - "title": "bevy_window::event::ApplicationLifetime", "type": "string", "typeInfo": "Enum" }, @@ -11315,6 +11315,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::CursorEntered", "properties": { "window": { "type": { @@ -11326,7 +11327,6 @@ "window" ], "short_name": "CursorEntered", - "title": "bevy_window::event::CursorEntered", "type": "object", "typeInfo": "Struct" }, @@ -11334,6 +11334,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::CursorLeft", "properties": { "window": { "type": { @@ -11345,7 +11346,6 @@ "window" ], "short_name": "CursorLeft", - "title": "bevy_window::event::CursorLeft", "type": "object", "typeInfo": "Struct" }, @@ -11353,6 +11353,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::CursorMoved", "properties": { "delta": { "type": { @@ -11375,25 +11376,26 @@ "position" ], "short_name": "CursorMoved", - "title": "bevy_window::event::CursorMoved", "type": "object", "typeInfo": "Struct" }, "bevy_window::event::FileDragAndDrop": { "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::FileDragAndDrop", "oneOf": [ { "additionalProperties": false, + "long_name": "DroppedFile", "properties": { "path_buf": { - "title": "path_buf", + "long_name": "path_buf", "type": { "$ref": "#/$defs/std::path::PathBuf" } }, "window": { - "title": "window", + "long_name": "window", "type": { "$ref": "#/$defs/bevy_ecs::entity::Entity" } @@ -11404,21 +11406,21 @@ "path_buf" ], "short_name": "DroppedFile", - "title": "DroppedFile", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "HoveredFile", "properties": { "path_buf": { - "title": "path_buf", + "long_name": "path_buf", "type": { "$ref": "#/$defs/std::path::PathBuf" } }, "window": { - "title": "window", + "long_name": "window", "type": { "$ref": "#/$defs/bevy_ecs::entity::Entity" } @@ -11429,15 +11431,15 @@ "path_buf" ], "short_name": "HoveredFile", - "title": "HoveredFile", "type": "object", "typeInfo": "Struct" }, { "additionalProperties": false, + "long_name": "HoveredFileCanceled", "properties": { "window": { - "title": "window", + "long_name": "window", "type": { "$ref": "#/$defs/bevy_ecs::entity::Entity" } @@ -11447,13 +11449,11 @@ "window" ], "short_name": "HoveredFileCanceled", - "title": "HoveredFileCanceled", "type": "object", "typeInfo": "Struct" } ], "short_name": "FileDragAndDrop", - "title": "bevy_window::event::FileDragAndDrop", "type": "object", "typeInfo": "Enum" }, @@ -11461,6 +11461,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::ReceivedCharacter", "properties": { "char": { "type": { @@ -11478,7 +11479,6 @@ "char" ], "short_name": "ReceivedCharacter", - "title": "bevy_window::event::ReceivedCharacter", "type": "object", "typeInfo": "Struct" }, @@ -11486,10 +11486,10 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::RequestRedraw", "properties": {}, "required": [], "short_name": "RequestRedraw", - "title": "bevy_window::event::RequestRedraw", "type": "object", "typeInfo": "Struct" }, @@ -11497,6 +11497,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::WindowBackendScaleFactorChanged", "properties": { "scale_factor": { "type": { @@ -11514,7 +11515,6 @@ "scale_factor" ], "short_name": "WindowBackendScaleFactorChanged", - "title": "bevy_window::event::WindowBackendScaleFactorChanged", "type": "object", "typeInfo": "Struct" }, @@ -11522,6 +11522,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::WindowCloseRequested", "properties": { "window": { "type": { @@ -11533,7 +11534,6 @@ "window" ], "short_name": "WindowCloseRequested", - "title": "bevy_window::event::WindowCloseRequested", "type": "object", "typeInfo": "Struct" }, @@ -11541,6 +11541,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::WindowClosed", "properties": { "window": { "type": { @@ -11552,7 +11553,6 @@ "window" ], "short_name": "WindowClosed", - "title": "bevy_window::event::WindowClosed", "type": "object", "typeInfo": "Struct" }, @@ -11560,6 +11560,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::WindowCreated", "properties": { "window": { "type": { @@ -11571,7 +11572,6 @@ "window" ], "short_name": "WindowCreated", - "title": "bevy_window::event::WindowCreated", "type": "object", "typeInfo": "Struct" }, @@ -11579,6 +11579,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::WindowFocused", "properties": { "focused": { "type": { @@ -11596,7 +11597,6 @@ "focused" ], "short_name": "WindowFocused", - "title": "bevy_window::event::WindowFocused", "type": "object", "typeInfo": "Struct" }, @@ -11604,6 +11604,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::WindowMoved", "properties": { "position": { "type": { @@ -11621,7 +11622,6 @@ "position" ], "short_name": "WindowMoved", - "title": "bevy_window::event::WindowMoved", "type": "object", "typeInfo": "Struct" }, @@ -11629,6 +11629,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::WindowOccluded", "properties": { "occluded": { "type": { @@ -11646,7 +11647,6 @@ "occluded" ], "short_name": "WindowOccluded", - "title": "bevy_window::event::WindowOccluded", "type": "object", "typeInfo": "Struct" }, @@ -11654,6 +11654,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::WindowResized", "properties": { "height": { "type": { @@ -11677,7 +11678,6 @@ "height" ], "short_name": "WindowResized", - "title": "bevy_window::event::WindowResized", "type": "object", "typeInfo": "Struct" }, @@ -11685,6 +11685,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::WindowScaleFactorChanged", "properties": { "scale_factor": { "type": { @@ -11702,7 +11703,6 @@ "scale_factor" ], "short_name": "WindowScaleFactorChanged", - "title": "bevy_window::event::WindowScaleFactorChanged", "type": "object", "typeInfo": "Struct" }, @@ -11710,6 +11710,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::event::WindowThemeChanged", "properties": { "theme": { "type": { @@ -11727,13 +11728,13 @@ "theme" ], "short_name": "WindowThemeChanged", - "title": "bevy_window::event::WindowThemeChanged", "type": "object", "typeInfo": "Struct" }, "bevy_window::window::CompositeAlphaMode": { "isComponent": false, "isResource": false, + "long_name": "bevy_window::window::CompositeAlphaMode", "oneOf": [ "Auto", "Opaque", @@ -11742,7 +11743,6 @@ "Inherit" ], "short_name": "CompositeAlphaMode", - "title": "bevy_window::window::CompositeAlphaMode", "type": "string", "typeInfo": "Enum" }, @@ -11750,6 +11750,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::window::Cursor", "properties": { "grab_mode": { "type": { @@ -11779,20 +11780,19 @@ "hit_test" ], "short_name": "Cursor", - "title": "bevy_window::window::Cursor", "type": "object", "typeInfo": "Struct" }, "bevy_window::window::CursorGrabMode": { "isComponent": false, "isResource": false, + "long_name": "bevy_window::window::CursorGrabMode", "oneOf": [ "None", "Confined", "Locked" ], "short_name": "CursorGrabMode", - "title": "bevy_window::window::CursorGrabMode", "type": "string", "typeInfo": "Enum" }, @@ -11800,6 +11800,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::window::EnabledButtons", "properties": { "close": { "type": { @@ -11823,7 +11824,6 @@ "close" ], "short_name": "EnabledButtons", - "title": "bevy_window::window::EnabledButtons", "type": "object", "typeInfo": "Struct" }, @@ -11831,6 +11831,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::window::InternalWindowState", "properties": { "maximize_request": { "type": { @@ -11850,22 +11851,23 @@ }, "required": [], "short_name": "InternalWindowState", - "title": "bevy_window::window::InternalWindowState", "type": "object", "typeInfo": "Struct" }, "bevy_window::window::MonitorSelection": { "isComponent": false, "isResource": false, + "long_name": "bevy_window::window::MonitorSelection", "oneOf": [ { - "title": "Current" + "long_name": "Current" }, { - "title": "Primary" + "long_name": "Primary" }, { "items": false, + "long_name": "Index", "prefixItems": [ { "type": { @@ -11874,19 +11876,18 @@ } ], "short_name": "Index", - "title": "Index", "type": "array", "typeInfo": "Tuple" } ], "short_name": "MonitorSelection", - "title": "bevy_window::window::MonitorSelection", "type": "object", "typeInfo": "Enum" }, "bevy_window::window::PresentMode": { "isComponent": false, "isResource": false, + "long_name": "bevy_window::window::PresentMode", "oneOf": [ "AutoVsync", "AutoNoVsync", @@ -11896,7 +11897,6 @@ "Mailbox" ], "short_name": "PresentMode", - "title": "bevy_window::window::PresentMode", "type": "string", "typeInfo": "Enum" }, @@ -11904,10 +11904,10 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_window::window::PrimaryWindow", "properties": {}, "required": [], "short_name": "PrimaryWindow", - "title": "bevy_window::window::PrimaryWindow", "type": "object", "typeInfo": "Struct" }, @@ -11915,6 +11915,7 @@ "additionalProperties": false, "isComponent": true, "isResource": false, + "long_name": "bevy_window::window::Window", "properties": { "canvas": { "type": { @@ -12049,26 +12050,26 @@ "visible" ], "short_name": "Window", - "title": "bevy_window::window::Window", "type": "object", "typeInfo": "Struct" }, "bevy_window::window::WindowLevel": { "isComponent": false, "isResource": false, + "long_name": "bevy_window::window::WindowLevel", "oneOf": [ "AlwaysOnBottom", "Normal", "AlwaysOnTop" ], "short_name": "WindowLevel", - "title": "bevy_window::window::WindowLevel", "type": "string", "typeInfo": "Enum" }, "bevy_window::window::WindowMode": { "isComponent": false, "isResource": false, + "long_name": "bevy_window::window::WindowMode", "oneOf": [ "Windowed", "BorderlessFullscreen", @@ -12076,19 +12077,20 @@ "Fullscreen" ], "short_name": "WindowMode", - "title": "bevy_window::window::WindowMode", "type": "string", "typeInfo": "Enum" }, "bevy_window::window::WindowPosition": { "isComponent": false, "isResource": false, + "long_name": "bevy_window::window::WindowPosition", "oneOf": [ { - "title": "Automatic" + "long_name": "Automatic" }, { "items": false, + "long_name": "Centered", "prefixItems": [ { "type": { @@ -12097,12 +12099,12 @@ } ], "short_name": "Centered", - "title": "Centered", "type": "array", "typeInfo": "Tuple" }, { "items": false, + "long_name": "At", "prefixItems": [ { "type": { @@ -12111,13 +12113,11 @@ } ], "short_name": "At", - "title": "At", "type": "array", "typeInfo": "Tuple" } ], "short_name": "WindowPosition", - "title": "bevy_window::window::WindowPosition", "type": "object", "typeInfo": "Enum" }, @@ -12125,6 +12125,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::window::WindowResizeConstraints", "properties": { "max_height": { "type": { @@ -12154,7 +12155,6 @@ "max_height" ], "short_name": "WindowResizeConstraints", - "title": "bevy_window::window::WindowResizeConstraints", "type": "object", "typeInfo": "Struct" }, @@ -12162,6 +12162,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "bevy_window::window::WindowResolution", "properties": { "physical_height": { "type": { @@ -12190,63 +12191,64 @@ "scale_factor" ], "short_name": "WindowResolution", - "title": "bevy_window::window::WindowResolution", "type": "object", "typeInfo": "Struct" }, "bevy_window::window::WindowTheme": { "isComponent": false, "isResource": false, + "long_name": "bevy_window::window::WindowTheme", "oneOf": [ "Light", "Dark" ], "short_name": "WindowTheme", - "title": "bevy_window::window::WindowTheme", "type": "string", "typeInfo": "Enum" }, "bool": { "isComponent": false, "isResource": false, + "long_name": "bool", "short_name": "bool", - "title": "bool", "type": "boolean", "typeInfo": "Value" }, "char": { "isComponent": false, "isResource": false, + "long_name": "char", "short_name": "char", - "title": "char", "type": "string", "typeInfo": "Value" }, "core::ops::Range": { "isComponent": false, "isResource": false, + "long_name": "core::ops::Range", "short_name": "Range", - "title": "core::ops::Range", "type": "object", "typeInfo": "Value" }, "core::ops::Range": { "isComponent": false, "isResource": false, + "long_name": "core::ops::Range", "short_name": "Range", - "title": "core::ops::Range", "type": "object", "typeInfo": "Value" }, "core::option::Option": { "isComponent": false, "isResource": false, + "long_name": "core::option::Option", "oneOf": [ { - "title": "None" + "long_name": "None" }, { "items": false, + "long_name": "Some", "prefixItems": [ { "type": { @@ -12255,25 +12257,25 @@ } ], "short_name": "Some", - "title": "Some", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Option", - "title": "core::option::Option", "type": "object", "typeInfo": "Enum" }, "core::option::Option>": { "isComponent": false, "isResource": false, + "long_name": "core::option::Option>", "oneOf": [ { - "title": "None" + "long_name": "None" }, { "items": false, + "long_name": "Some", "prefixItems": [ { "type": { @@ -12282,25 +12284,25 @@ } ], "short_name": "Some", - "title": "Some", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Option>", - "title": "core::option::Option>", "type": "object", "typeInfo": "Enum" }, "core::option::Option>": { "isComponent": false, "isResource": false, + "long_name": "core::option::Option>", "oneOf": [ { - "title": "None" + "long_name": "None" }, { "items": false, + "long_name": "Some", "prefixItems": [ { "type": { @@ -12309,25 +12311,25 @@ } ], "short_name": "Some", - "title": "Some", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Option>", - "title": "core::option::Option>", "type": "object", "typeInfo": "Enum" }, "core::option::Option": { "isComponent": false, "isResource": false, + "long_name": "core::option::Option", "oneOf": [ { - "title": "None" + "long_name": "None" }, { "items": false, + "long_name": "Some", "prefixItems": [ { "type": { @@ -12336,25 +12338,25 @@ } ], "short_name": "Some", - "title": "Some", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Option", - "title": "core::option::Option", "type": "object", "typeInfo": "Enum" }, "core::option::Option": { "isComponent": false, "isResource": false, + "long_name": "core::option::Option", "oneOf": [ { - "title": "None" + "long_name": "None" }, { "items": false, + "long_name": "Some", "prefixItems": [ { "type": { @@ -12363,25 +12365,25 @@ } ], "short_name": "Some", - "title": "Some", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Option", - "title": "core::option::Option", "type": "object", "typeInfo": "Enum" }, "core::option::Option": { "isComponent": false, "isResource": false, + "long_name": "core::option::Option", "oneOf": [ { - "title": "None" + "long_name": "None" }, { "items": false, + "long_name": "Some", "prefixItems": [ { "type": { @@ -12390,25 +12392,25 @@ } ], "short_name": "Some", - "title": "Some", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Option", - "title": "core::option::Option", "type": "object", "typeInfo": "Enum" }, "core::option::Option": { "isComponent": false, "isResource": false, + "long_name": "core::option::Option", "oneOf": [ { - "title": "None" + "long_name": "None" }, { "items": false, + "long_name": "Some", "prefixItems": [ { "type": { @@ -12417,25 +12419,25 @@ } ], "short_name": "Some", - "title": "Some", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Option", - "title": "core::option::Option", "type": "object", "typeInfo": "Enum" }, "core::option::Option": { "isComponent": false, "isResource": false, + "long_name": "core::option::Option", "oneOf": [ { - "title": "None" + "long_name": "None" }, { "items": false, + "long_name": "Some", "prefixItems": [ { "type": { @@ -12444,25 +12446,25 @@ } ], "short_name": "Some", - "title": "Some", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Option", - "title": "core::option::Option", "type": "object", "typeInfo": "Enum" }, "core::option::Option": { "isComponent": false, "isResource": false, + "long_name": "core::option::Option", "oneOf": [ { - "title": "None" + "long_name": "None" }, { "items": false, + "long_name": "Some", "prefixItems": [ { "type": { @@ -12471,29 +12473,27 @@ } ], "short_name": "Some", - "title": "Some", "type": "array", "typeInfo": "Tuple" } ], "short_name": "Option", - "title": "core::option::Option", "type": "object", "typeInfo": "Enum" }, "f32": { "isComponent": false, "isResource": false, + "long_name": "f32", "short_name": "f32", - "title": "f32", "type": "float", "typeInfo": "Value" }, "f64": { "isComponent": false, "isResource": false, + "long_name": "f64", "short_name": "f64", - "title": "f64", "type": "float", "typeInfo": "Value" }, @@ -12501,6 +12501,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::Affine2", "properties": { "matrix2": { "type": { @@ -12518,7 +12519,6 @@ "translation" ], "short_name": "Affine2", - "title": "glam::Affine2", "type": "object", "typeInfo": "Struct" }, @@ -12526,6 +12526,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::Affine3A", "properties": { "matrix3": { "type": { @@ -12543,7 +12544,6 @@ "translation" ], "short_name": "Affine3A", - "title": "glam::Affine3A", "type": "object", "typeInfo": "Struct" }, @@ -12551,6 +12551,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::BVec2", "properties": { "x": { "type": { @@ -12568,7 +12569,6 @@ "y" ], "short_name": "BVec2", - "title": "glam::BVec2", "type": "object", "typeInfo": "Struct" }, @@ -12576,6 +12576,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::BVec3", "properties": { "x": { "type": { @@ -12599,15 +12600,14 @@ "z" ], "short_name": "BVec3", - "title": "glam::BVec3", "type": "object", "typeInfo": "Struct" }, "glam::BVec3A": { "isComponent": false, "isResource": false, + "long_name": "glam::BVec3A", "short_name": "BVec3A", - "title": "glam::BVec3A", "type": "object", "typeInfo": "Value" }, @@ -12615,6 +12615,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::BVec4", "properties": { "w": { "type": { @@ -12644,15 +12645,14 @@ "w" ], "short_name": "BVec4", - "title": "glam::BVec4", "type": "object", "typeInfo": "Struct" }, "glam::BVec4A": { "isComponent": false, "isResource": false, + "long_name": "glam::BVec4A", "short_name": "BVec4A", - "title": "glam::BVec4A", "type": "object", "typeInfo": "Value" }, @@ -12660,6 +12660,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::DAffine2", "properties": { "matrix2": { "type": { @@ -12677,7 +12678,6 @@ "translation" ], "short_name": "DAffine2", - "title": "glam::DAffine2", "type": "object", "typeInfo": "Struct" }, @@ -12685,6 +12685,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::DAffine3", "properties": { "matrix3": { "type": { @@ -12702,7 +12703,6 @@ "translation" ], "short_name": "DAffine3", - "title": "glam::DAffine3", "type": "object", "typeInfo": "Struct" }, @@ -12710,6 +12710,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::DMat2", "properties": { "x_axis": { "type": { @@ -12727,7 +12728,6 @@ "y_axis" ], "short_name": "DMat2", - "title": "glam::DMat2", "type": "object", "typeInfo": "Struct" }, @@ -12735,6 +12735,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::DMat3", "properties": { "x_axis": { "type": { @@ -12758,7 +12759,6 @@ "z_axis" ], "short_name": "DMat3", - "title": "glam::DMat3", "type": "object", "typeInfo": "Struct" }, @@ -12766,6 +12766,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::DMat4", "properties": { "w_axis": { "type": { @@ -12795,7 +12796,6 @@ "w_axis" ], "short_name": "DMat4", - "title": "glam::DMat4", "type": "object", "typeInfo": "Struct" }, @@ -12803,6 +12803,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::DQuat", "properties": { "w": { "type": { @@ -12832,7 +12833,6 @@ "w" ], "short_name": "DQuat", - "title": "glam::DQuat", "type": "object", "typeInfo": "Struct" }, @@ -12840,6 +12840,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::DVec2", "properties": { "x": { "type": { @@ -12857,7 +12858,6 @@ "y" ], "short_name": "DVec2", - "title": "glam::DVec2", "type": "object", "typeInfo": "Struct" }, @@ -12865,6 +12865,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::DVec3", "properties": { "x": { "type": { @@ -12888,7 +12889,6 @@ "z" ], "short_name": "DVec3", - "title": "glam::DVec3", "type": "object", "typeInfo": "Struct" }, @@ -12896,6 +12896,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::DVec4", "properties": { "w": { "type": { @@ -12925,7 +12926,6 @@ "w" ], "short_name": "DVec4", - "title": "glam::DVec4", "type": "object", "typeInfo": "Struct" }, @@ -12933,6 +12933,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::IVec2", "properties": { "x": { "type": { @@ -12950,7 +12951,6 @@ "y" ], "short_name": "IVec2", - "title": "glam::IVec2", "type": "object", "typeInfo": "Struct" }, @@ -12958,6 +12958,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::IVec3", "properties": { "x": { "type": { @@ -12981,7 +12982,6 @@ "z" ], "short_name": "IVec3", - "title": "glam::IVec3", "type": "object", "typeInfo": "Struct" }, @@ -12989,6 +12989,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::IVec4", "properties": { "w": { "type": { @@ -13018,7 +13019,6 @@ "w" ], "short_name": "IVec4", - "title": "glam::IVec4", "type": "object", "typeInfo": "Struct" }, @@ -13026,6 +13026,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::Mat2", "properties": { "x_axis": { "type": { @@ -13043,7 +13044,6 @@ "y_axis" ], "short_name": "Mat2", - "title": "glam::Mat2", "type": "object", "typeInfo": "Struct" }, @@ -13051,6 +13051,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::Mat3", "properties": { "x_axis": { "type": { @@ -13074,7 +13075,6 @@ "z_axis" ], "short_name": "Mat3", - "title": "glam::Mat3", "type": "object", "typeInfo": "Struct" }, @@ -13082,6 +13082,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::Mat3A", "properties": { "x_axis": { "type": { @@ -13105,7 +13106,6 @@ "z_axis" ], "short_name": "Mat3A", - "title": "glam::Mat3A", "type": "object", "typeInfo": "Struct" }, @@ -13113,6 +13113,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::Mat4", "properties": { "w_axis": { "type": { @@ -13142,7 +13143,6 @@ "w_axis" ], "short_name": "Mat4", - "title": "glam::Mat4", "type": "object", "typeInfo": "Struct" }, @@ -13150,6 +13150,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::Quat", "properties": { "w": { "type": { @@ -13179,7 +13180,6 @@ "w" ], "short_name": "Quat", - "title": "glam::Quat", "type": "object", "typeInfo": "Struct" }, @@ -13187,6 +13187,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::UVec2", "properties": { "x": { "type": { @@ -13204,7 +13205,6 @@ "y" ], "short_name": "UVec2", - "title": "glam::UVec2", "type": "object", "typeInfo": "Struct" }, @@ -13212,6 +13212,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::UVec3", "properties": { "x": { "type": { @@ -13235,7 +13236,6 @@ "z" ], "short_name": "UVec3", - "title": "glam::UVec3", "type": "object", "typeInfo": "Struct" }, @@ -13243,6 +13243,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::UVec4", "properties": { "w": { "type": { @@ -13272,7 +13273,6 @@ "w" ], "short_name": "UVec4", - "title": "glam::UVec4", "type": "object", "typeInfo": "Struct" }, @@ -13280,6 +13280,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::Vec2", "properties": { "x": { "type": { @@ -13297,7 +13298,6 @@ "y" ], "short_name": "Vec2", - "title": "glam::Vec2", "type": "object", "typeInfo": "Struct" }, @@ -13305,6 +13305,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::Vec3", "properties": { "x": { "type": { @@ -13328,7 +13329,6 @@ "z" ], "short_name": "Vec3", - "title": "glam::Vec3", "type": "object", "typeInfo": "Struct" }, @@ -13336,6 +13336,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::Vec3A", "properties": { "x": { "type": { @@ -13359,7 +13360,6 @@ "z" ], "short_name": "Vec3A", - "title": "glam::Vec3A", "type": "object", "typeInfo": "Struct" }, @@ -13367,6 +13367,7 @@ "additionalProperties": false, "isComponent": false, "isResource": false, + "long_name": "glam::Vec4", "properties": { "w": { "type": { @@ -13396,123 +13397,122 @@ "w" ], "short_name": "Vec4", - "title": "glam::Vec4", "type": "object", "typeInfo": "Struct" }, "i128": { "isComponent": false, "isResource": false, + "long_name": "i128", "short_name": "i128", - "title": "i128", "type": "int", "typeInfo": "Value" }, "i16": { "isComponent": false, "isResource": false, + "long_name": "i16", "short_name": "i16", - "title": "i16", "type": "int", "typeInfo": "Value" }, "i32": { "isComponent": false, "isResource": false, + "long_name": "i32", "short_name": "i32", - "title": "i32", "type": "int", "typeInfo": "Value" }, "i64": { "isComponent": false, "isResource": false, + "long_name": "i64", "short_name": "i64", - "title": "i64", "type": "int", "typeInfo": "Value" }, "i8": { "isComponent": false, "isResource": false, + "long_name": "i8", "short_name": "i8", - "title": "i8", "type": "int", "typeInfo": "Value" }, "isize": { "isComponent": false, "isResource": false, + "long_name": "isize", "short_name": "isize", - "title": "isize", "type": "int", "typeInfo": "Value" }, "std::ffi::OsString": { "isComponent": false, "isResource": false, + "long_name": "std::ffi::OsString", "short_name": "OsString", - "title": "std::ffi::OsString", "type": "object", "typeInfo": "Value" }, "std::path::PathBuf": { "isComponent": false, "isResource": false, + "long_name": "std::path::PathBuf", "short_name": "PathBuf", - "title": "std::path::PathBuf", "type": "object", "typeInfo": "Value" }, "u128": { "isComponent": false, "isResource": false, + "long_name": "u128", "short_name": "u128", - "title": "u128", "type": "uint", "typeInfo": "Value" }, "u16": { "isComponent": false, "isResource": false, + "long_name": "u16", "short_name": "u16", - "title": "u16", "type": "uint", "typeInfo": "Value" }, "u32": { "isComponent": false, "isResource": false, + "long_name": "u32", "short_name": "u32", - "title": "u32", "type": "uint", "typeInfo": "Value" }, "u64": { "isComponent": false, "isResource": false, + "long_name": "u64", "short_name": "u64", - "title": "u64", "type": "uint", "typeInfo": "Value" }, "u8": { "isComponent": false, "isResource": false, + "long_name": "u8", "short_name": "u8", - "title": "u8", "type": "uint", "typeInfo": "Value" }, "usize": { "isComponent": false, "isResource": false, + "long_name": "usize", "short_name": "usize", - "title": "usize", "type": "uint", "typeInfo": "Value" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "bevy component registry schema" + "long_name": "bevy component registry schema" } \ No newline at end of file diff --git a/tools/bevy_components/TODO.md b/tools/bevy_components/TODO.md index 1032903..0a6cb93 100644 --- a/tools/bevy_components/TODO.md +++ b/tools/bevy_components/TODO.md @@ -48,7 +48,7 @@ UI: * Cuboid(Vec3) * Sphere(radius) - [x] deal with enums variants that do not have any data: ex { - "title": "Mesh" + "long_name": "Mesh" } - [x] remove / change use of ComponentDefinitionsList @@ -82,7 +82,7 @@ UI: - [x] change custom property => propGroup to convert RON => Json first => obsolete - [x] cleanup process_lists -- [x] fix issues with enum variants with only a title +- [x] fix issues with enum variants with only a long_name - [x] display single item enums inline, others in a seperate row @@ -217,6 +217,7 @@ Restructuring of storage of components - [ ] in conversions from propgroups component_name = definition["short_name"] +- [ ] fix is_component_valid that is used in gltf_auto_export - Hashmap Support - [ ] fix parsing of keys's type either on Bevy side (prefered, unlikely to be possible) or on the Blender side diff --git a/tools/bevy_components/__init__.py b/tools/bevy_components/__init__.py index 4459bec..359674f 100644 --- a/tools/bevy_components/__init__.py +++ b/tools/bevy_components/__init__.py @@ -28,19 +28,6 @@ from .components.maps import GENERIC_MAP_OT_actions from .components.definitions_list import (ComponentDefinitionsList, ClearComponentDefinitionsList) from .components.ui import (BEVY_COMPONENTS_PT_ComponentsPanel) - -# just a test, remove -def scan_item(item, nesting=0): - try: - for sub in dict(item).keys(): - print("--", sub, getattr(item[sub], "type_name", None), item[sub], nesting) - try: - scan_item(item[sub], nesting+1) - except: - pass - except: - pass - class BEVY_COMPONENTS_PT_MainPanel(bpy.types.Panel): bl_idname = "BEVY_COMPONENTS_PT_MainPanel" bl_label = "" diff --git a/tools/bevy_components/components/metadata.py b/tools/bevy_components/components/metadata.py index 14d8ba4..2b2db58 100644 --- a/tools/bevy_components/components/metadata.py +++ b/tools/bevy_components/components/metadata.py @@ -2,12 +2,11 @@ import bpy from bpy.props import (StringProperty, BoolProperty, PointerProperty) from bpy_types import (PropertyGroup) -from .helpers import ping_depsgraph_update from ..propGroups.conversions_from_prop_group import property_group_value_to_custom_property_value from ..propGroups.conversions_to_prop_group import property_group_value_from_custom_property_value class ComponentMetadata(bpy.types.PropertyGroup): - name : bpy.props.StringProperty( + short_name : bpy.props.StringProperty( name = "name", default = "" ) # type: ignore @@ -17,11 +16,6 @@ class ComponentMetadata(bpy.types.PropertyGroup): default = "" ) # type: ignore - type_name : bpy.props.StringProperty( - name = "Type", - default = "" - ) # type: ignore - values: bpy.props.StringProperty( name = "Value", default = "" @@ -64,12 +58,6 @@ class ComponentsMeta(PropertyGroup): def unregister(cls): del bpy.types.Object.components_meta -# We need a collection property of components PER object -def get_component_metadata_by_short_name(object, short_name): - if not "components_meta" in object: - return None - return next(filter(lambda component: component["name"] == short_name, object.components_meta.components), None) - # remove no longer valid metadata from object def cleanup_invalid_metadata(object): bevy_components = get_bevy_components(object) @@ -78,23 +66,15 @@ def cleanup_invalid_metadata(object): components_metadata = object.components_meta.components to_remove = [] for index, component_meta in enumerate(components_metadata): - short_name = component_meta.name long_name = component_meta.long_name if long_name not in bevy_components.keys(): - print("component:", short_name, "present in metadata, but not in object") + print("component:", long_name, "present in metadata, but not in object") to_remove.append(index) for index in to_remove: components_metadata.remove(index) -# returns a component definition ( an entry in registry's type_infos) with matching short name or None if nothing has been found -def find_component_definition_from_short_name(short_name): - registry = bpy.context.window_manager.components_registry - long_name = registry.short_names_to_long_names.get(short_name, None) - if long_name != None: - return registry.type_infos.get(long_name, None) - return None - +# returns a component definition ( an entry in registry's type_infos) with matching long name or None if nothing has been found def find_component_definition_from_long_name(long_name): registry = bpy.context.window_manager.components_registry return registry.type_infos.get(long_name, None) @@ -114,14 +94,14 @@ def do_object_custom_properties_have_missing_metadata(object): components_metadata = components_metadata.components missing_metadata = False - for component_name in dict(object) : + for component_name in get_bevy_components(object) : if component_name == "components_meta": continue - component_meta = next(filter(lambda component: component["name"] == component_name, components_metadata), None) + component_meta = next(filter(lambda component: component["long_name"] == component_name, components_metadata), None) if component_meta == None: # current component has no metadata but is there even a compatible type in the registry ? # if not ignore it - component_definition = find_component_definition_from_short_name(component_name) + component_definition = find_component_definition_from_long_name(component_name) if component_definition != None: missing_metadata = True break @@ -173,7 +153,7 @@ def add_component_to_object(object, component_definition, value=None): cleanup_invalid_metadata(object) if object is not None: # print("add_component_to_object", component_definition) - long_name = component_definition["title"] + long_name = component_definition["long_name"] registry = bpy.context.window_manager.components_registry if not registry.has_type_infos(): raise Exception('registry type infos have not been loaded yet or are missing !') @@ -201,7 +181,7 @@ def upsert_component_in_object(object, long_name, registry): component_definition = registry.type_infos.get(long_name, None) if component_definition != None: short_name = component_definition["short_name"] - long_name = component_definition["title"] + long_name = component_definition["long_name"] property_group_name = registry.get_propertyGroupName_from_longName(long_name) propertyGroup = None @@ -286,13 +266,13 @@ def apply_propertyGroup_values_to_object_customProperties(object): def apply_propertyGroup_values_to_object_customProperties_for_component(object, component_name): registry = bpy.context.window_manager.components_registry (_, propertyGroup) = upsert_component_in_object(object, component_name, registry) - component_definition = find_component_definition_from_short_name(component_name) + component_definition = find_component_definition_from_long_name(component_name) if component_definition != None: value = property_group_value_to_custom_property_value(propertyGroup, component_definition, registry, None) object[component_name] = value components_metadata = object.components_meta.components - componentMeta = next(filter(lambda component: component["name"] == component_name, components_metadata), None) + componentMeta = next(filter(lambda component: component["long_name"] == component_name, components_metadata), None) if componentMeta: componentMeta.invalid = False componentMeta.invalid_details = "" @@ -301,14 +281,14 @@ def apply_propertyGroup_values_to_object_customProperties_for_component(object, def apply_customProperty_values_to_object_propertyGroups(object): print("apply custom properties to ", object.name) registry = bpy.context.window_manager.components_registry - for component_name in dict(object) : + for component_name in get_bevy_components(object) : if component_name == "components_meta": continue - component_definition = find_component_definition_from_short_name(component_name) + component_definition = find_component_definition_from_long_name(component_name) if component_definition != None: - property_group_name = registry.get_propertyGroupName_from_shortName(component_name) + property_group_name = registry.get_propertyGroupName_from_longName(component_name) components_metadata = object.components_meta.components - source_componentMeta = next(filter(lambda component: component["name"] == component_name, components_metadata), None) + source_componentMeta = next(filter(lambda component: component["long_name"] == component_name, components_metadata), None) # matching component means we already have this type of component propertyGroup = getattr(source_componentMeta, property_group_name, None) customProperty_value = object[component_name] diff --git a/tools/bevy_components/components/operators.py b/tools/bevy_components/components/operators.py index a8b0419..643accf 100644 --- a/tools/bevy_components/components/operators.py +++ b/tools/bevy_components/components/operators.py @@ -4,7 +4,7 @@ import bpy from bpy_types import Operator from bpy.props import (StringProperty) -from .metadata import add_component_from_custom_property, add_component_to_object, add_metadata_to_components_without_metadata, apply_customProperty_values_to_object_propertyGroups, apply_propertyGroup_values_to_object_customProperties_for_component, copy_propertyGroup_values_to_another_object, find_component_definition_from_short_name, get_bevy_component_value_by_long_name, get_bevy_components, is_bevy_component_in_object, remove_component_from_object, toggle_component +from .metadata import add_component_from_custom_property, add_component_to_object, add_metadata_to_components_without_metadata, apply_customProperty_values_to_object_propertyGroups, apply_propertyGroup_values_to_object_customProperties_for_component, copy_propertyGroup_values_to_another_object, get_bevy_component_value_by_long_name, get_bevy_components, is_bevy_component_in_object, remove_component_from_object, toggle_component class AddComponentOperator(Operator): """Add Bevy component to object""" @@ -236,7 +236,7 @@ class OT_rename_component(Operator): try: # attempt conversion - long_name = registry.short_names_to_long_names[new_name] + long_name = new_name component_definition = type_infos[long_name] add_component_to_object(object, component_definition, object[new_name]) except Exception as error: diff --git a/tools/bevy_components/components/ui.py b/tools/bevy_components/components/ui.py index 1b2d6b7..6ed0085 100644 --- a/tools/bevy_components/components/ui.py +++ b/tools/bevy_components/components/ui.py @@ -2,23 +2,19 @@ import json import bpy from ..registry.operators import COMPONENTS_OT_REFRESH_CUSTOM_PROPERTIES_CURRENT -from .metadata import do_object_custom_properties_have_missing_metadata +from .metadata import do_object_custom_properties_have_missing_metadata, get_bevy_components from .operators import AddComponentOperator, CopyComponentOperator, Fix_Component_Operator, RemoveComponentOperator, GenerateComponent_From_custom_property_Operator, PasteComponentOperator, Toggle_ComponentVisibility def draw_propertyGroup( propertyGroup, layout, nesting =[], rootName=None): is_enum = getattr(propertyGroup, "with_enum") is_list = getattr(propertyGroup, "with_list") is_map = getattr(propertyGroup, "with_map") - #nesting = nesting + [current_short_name] # we need this convoluted "nested path strings " workaround so that operators working on a given # item in our components hierarchy can get the correct propertyGroup by STRINGS because of course, we cannot pass objects to operators...sigh # if it is an enum, the first field name is always the list of enum variants, the others are the variants field_names = propertyGroup.field_names #print("") #print("drawing", propertyGroup, nesting, "component_name", rootName) - #type_name = getattr(propertyGroup, "type_name", None)#propertyGroup.type_name if "type_name" in propertyGroup else "" - #print("type name", type_name) - #print("name", propertyGroup.name, "name2", getattr(propertyGroup, "name"), "short_name", getattr(propertyGroup, "short_name", None), "nesting", nesting) if is_enum: subrow = layout.row() display_name = field_names[0] if propertyGroup.tupple_or_struct == "struct" else "" @@ -39,9 +35,7 @@ def draw_propertyGroup( propertyGroup, layout, nesting =[], rootName=None): # if an enum variant is not a propertyGroup break elif is_list: - #print("show list", propertyGroup, dict(propertyGroup), propertyGroup.type_name) item_list = getattr(propertyGroup, "list") - item_type = getattr(propertyGroup, "type_name_short") list_index = getattr(propertyGroup, "list_index") box = layout.box() split = box.split(factor=0.9) @@ -199,10 +193,9 @@ class BEVY_COMPONENTS_PT_ComponentsPanel(bpy.types.Panel): components_in_object = object.components_meta.components - components_bla = json.loads(object["bevy_components"]) if "bevy_components" in object else '{}' #print("components_names", dict(components_bla).keys()) - for component_name in sorted(dict(components_bla)) : # sorted by component name, practical + for component_name in sorted(get_bevy_components(object)) : # sorted by component name, practical #print("component_name", component_name) if component_name == "components_meta": continue diff --git a/tools/bevy_components/propGroups/conversions_from_prop_group.py b/tools/bevy_components/propGroups/conversions_from_prop_group.py index cc960be..d4fd6d1 100644 --- a/tools/bevy_components/propGroups/conversions_from_prop_group.py +++ b/tools/bevy_components/propGroups/conversions_from_prop_group.py @@ -28,29 +28,29 @@ conversion_tables = { #converts the value of a property group(no matter its complexity) into a single custom property value # this is more or less a glorified "to_ron()" method (not quite but close to) def property_group_value_to_custom_property_value(property_group, definition, registry, parent=None, value=None): - component_name = definition["short_name"] # FIXME: we should operate based on long names + print('definition', definition) + long_name = definition["long_name"] type_info = definition["typeInfo"] if "typeInfo" in definition else None type_def = definition["type"] if "type" in definition else None - type_name = definition["title"] - is_value_type = type_name in conversion_tables - # print("computing custom property: component name:", component_name, "type_info", type_info, "type_def", type_def, "type_name", type_name) + is_value_type = long_name in conversion_tables + # print("computing custom property: component name:", long_name, "type_info", type_info, "type_def", type_def) if is_value_type: - value = conversion_tables[type_name](value) + value = conversion_tables[long_name](value) elif type_info == "Struct": values = {} if len(property_group.field_names) ==0: value = '()' else: for index, field_name in enumerate(property_group.field_names): - item_type_name = definition["properties"][field_name]["type"]["$ref"].replace("#/$defs/", "") - item_definition = registry.type_infos[item_type_name] if item_type_name in registry.type_infos else None + item_long_name = definition["properties"][field_name]["type"]["$ref"].replace("#/$defs/", "") + item_definition = registry.type_infos[item_long_name] if item_long_name in registry.type_infos else None value = getattr(property_group, field_name) is_property_group = isinstance(value, PropertyGroup) child_property_group = value if is_property_group else None if item_definition != None: - value = property_group_value_to_custom_property_value(child_property_group, item_definition, registry, parent=component_name, value=value) + value = property_group_value_to_custom_property_value(child_property_group, item_definition, registry, parent=long_name, value=value) else: value = '""' values[field_name] = value @@ -58,14 +58,14 @@ def property_group_value_to_custom_property_value(property_group, definition, re elif type_info == "Tuple": values = {} for index, field_name in enumerate(property_group.field_names): - item_type_name = definition["prefixItems"][index]["type"]["$ref"].replace("#/$defs/", "") - item_definition = registry.type_infos[item_type_name] if item_type_name in registry.type_infos else None + item_long_name = definition["prefixItems"][index]["type"]["$ref"].replace("#/$defs/", "") + item_definition = registry.type_infos[item_long_name] if item_long_name in registry.type_infos else None value = getattr(property_group, field_name) is_property_group = isinstance(value, PropertyGroup) child_property_group = value if is_property_group else None if item_definition != None: - value = property_group_value_to_custom_property_value(child_property_group, item_definition, registry, parent=component_name, value=value) + value = property_group_value_to_custom_property_value(child_property_group, item_definition, registry, parent=long_name, value=value) else: value = '""' values[field_name] = value @@ -75,23 +75,24 @@ def property_group_value_to_custom_property_value(property_group, definition, re values = {} for index, field_name in enumerate(property_group.field_names): #print("toto", index, definition["prefixItems"][index]["type"]["$ref"]) - item_type_name = definition["prefixItems"][index]["type"]["$ref"].replace("#/$defs/", "") - item_definition = registry.type_infos[item_type_name] if item_type_name in registry.type_infos else None - # print("here", item_type_name, item_definition) + item_long_name = definition["prefixItems"][index]["type"]["$ref"].replace("#/$defs/", "") + item_definition = registry.type_infos[item_long_name] if item_long_name in registry.type_infos else None value = getattr(property_group, field_name) is_property_group = isinstance(value, PropertyGroup) child_property_group = value if is_property_group else None if item_definition != None: - value = property_group_value_to_custom_property_value(child_property_group, item_definition, registry, parent=component_name, value=value) + value = property_group_value_to_custom_property_value(child_property_group, item_definition, registry, parent=long_name, value=value) else: value = '""' values[field_name] = value value = tuple(e for e in list(values.values())) elif type_info == "Enum": + short_name = definition["short_name"] + print("ENUM", definition, property_group.field_names, long_name) # TODO: perhaps use a mapping of (long) component name to a short ID , like we do in get_propertyGroupName_from_longName - selected = getattr(property_group, component_name) + selected = getattr(property_group, short_name) if type_def == "object": selection_index = property_group.field_names.index("variant_"+selected) @@ -102,21 +103,21 @@ def property_group_value_to_custom_property_value(property_group, definition, re is_property_group = isinstance(value, PropertyGroup) child_property_group = value if is_property_group else None - value = property_group_value_to_custom_property_value(child_property_group, variant_definition, registry, parent=component_name, value=value) + value = property_group_value_to_custom_property_value(child_property_group, variant_definition, registry, parent=long_name, value=value) value = selected + str(value,) #"{}{},".format(selected ,value) elif "properties" in variant_definition: value = getattr(property_group, variant_name) is_property_group = isinstance(value, PropertyGroup) child_property_group = value if is_property_group else None - value = property_group_value_to_custom_property_value(child_property_group, variant_definition, registry, parent=component_name, value=value) + value = property_group_value_to_custom_property_value(child_property_group, variant_definition, registry, parent=long_name, value=value) value = selected + str(value,) else: value = getattr(property_group, variant_name) is_property_group = isinstance(value, PropertyGroup) child_property_group = value if is_property_group else None if child_property_group: - value = property_group_value_to_custom_property_value(child_property_group, variant_definition, registry, parent=component_name, value=value) + value = property_group_value_to_custom_property_value(child_property_group, variant_definition, registry, parent=long_name, value=value) value = selected + str(value,) else: value = selected # here the value of the enum is just the name of the variant @@ -125,14 +126,13 @@ def property_group_value_to_custom_property_value(property_group, definition, re elif type_info == "List": item_list = getattr(property_group, "list") - #item_type = getattr(property_group, "type_name_short") value = [] for item in item_list: - item_type_name = getattr(item, "type_name") - definition = registry.type_infos[item_type_name] if item_type_name in registry.type_infos else None + item_long_name = getattr(item, "long_name") + definition = registry.type_infos[item_long_name] if item_long_name in registry.type_infos else None if definition != None: - item_value = property_group_value_to_custom_property_value(item, definition, registry, component_name, None) - if item_type_name.startswith("wrapper_"): #if we have a "fake" tupple for aka for value types, we need to remove one nested level + item_value = property_group_value_to_custom_property_value(item, definition, registry, long_name, None) + if item_long_name.startswith("wrapper_"): #if we have a "fake" tupple for aka for value types, we need to remove one nested level item_value = item_value[0] else: item_value = '""' @@ -144,21 +144,21 @@ def property_group_value_to_custom_property_value(property_group, definition, re value = {} for index, key in enumerate(keys_list): # first get the keys - key_type_name = getattr(key, "type_name") - definition = registry.type_infos[key_type_name] if key_type_name in registry.type_infos else None + key_long_name = getattr(key, "long_name") + definition = registry.type_infos[key_long_name] if key_long_name in registry.type_infos else None if definition != None: - key_value = property_group_value_to_custom_property_value(key, definition, registry, component_name, None) - if key_type_name.startswith("wrapper_"): #if we have a "fake" tupple for aka for value types, we need to remove one nested level + key_value = property_group_value_to_custom_property_value(key, definition, registry, long_name, None) + if key_long_name.startswith("wrapper_"): #if we have a "fake" tupple for aka for value types, we need to remove one nested level key_value = key_value[0] else: key_value = '""' # and then the values val = values_list[index] - value_type_name = getattr(val, "type_name") - definition = registry.type_infos[value_type_name] if value_type_name in registry.type_infos else None + value_long_name = getattr(val, "long_name") + definition = registry.type_infos[value_long_name] if value_long_name in registry.type_infos else None if definition != None: - val_value = property_group_value_to_custom_property_value(val, definition, registry, component_name, None) - if value_type_name.startswith("wrapper_"): #if we have a "fake" tupple for aka for value types, we need to remove one nested level + val_value = property_group_value_to_custom_property_value(val, definition, registry, long_name, None) + if value_long_name.startswith("wrapper_"): #if we have a "fake" tupple for aka for value types, we need to remove one nested level val_value = val_value[0] else: val_value = '""' @@ -166,7 +166,7 @@ def property_group_value_to_custom_property_value(property_group, definition, re value[key_value] = val_value value = str(value).replace('{','@').replace('}','²') # FIXME: eeek !! else: - value = conversion_tables[type_name](value) if is_value_type else value + value = conversion_tables[long_name](value) if is_value_type else value value = '""' if isinstance(value, PropertyGroup) else value #print("generating custom property value", value, type(value)) diff --git a/tools/bevy_components/propGroups/conversions_to_prop_group.py b/tools/bevy_components/propGroups/conversions_to_prop_group.py index 84d10e2..89b7150 100644 --- a/tools/bevy_components/propGroups/conversions_to_prop_group.py +++ b/tools/bevy_components/propGroups/conversions_to_prop_group.py @@ -171,43 +171,34 @@ def is_def_value_type(definition, registry): if definition == None: return True value_types_defaults = registry.value_types_defaults - type_name = definition["title"] - is_value_type = type_name in value_types_defaults + long_name = definition["long_name"] + is_value_type = long_name in value_types_defaults return is_value_type #converts the value of a single custom property into a value (values) of a property group def property_group_value_from_custom_property_value(property_group, definition, registry, value, nesting = []): value_types_defaults = registry.value_types_defaults - type_info = definition["typeInfo"] if "typeInfo" in definition else None type_def = definition["type"] if "type" in definition else None properties = definition["properties"] if "properties" in definition else {} prefixItems = definition["prefixItems"] if "prefixItems" in definition else [] - has_properties = len(properties.keys()) > 0 - has_prefixItems = len(prefixItems) > 0 - is_enum = type_info == "Enum" - is_list = type_info == "List" - type_name = definition["title"] + long_name = definition["long_name"] - #is_value_type = type_def in value_types_defaults or type_name in value_types_defaults - is_value_type = type_name in value_types_defaults + #is_value_type = type_def in value_types_defaults or long_name in value_types_defaults + is_value_type = long_name in value_types_defaults nesting = nesting + [definition["short_name"]] - """print(" ") - print("raw value", value, "nesting", nesting) - print("nesting", len(nesting)) - print("definition", definition)""" if is_value_type: value = value.replace("(", "").replace(")", "")# FIXME: temporary, incoherent use of nesting levels between parse_tuplestruct_string & parse_struct_string - value = type_mappings[type_name](value) if type_name in type_mappings else value + value = type_mappings[long_name](value) if long_name in type_mappings else value return value elif type_info == "Struct": if len(property_group.field_names) != 0 : custom_property_values = parse_struct_string(value, start_nesting=1 if value.startswith("(") else 0) for index, field_name in enumerate(property_group.field_names): - item_type_name = definition["properties"][field_name]["type"]["$ref"].replace("#/$defs/", "") - item_definition = registry.type_infos[item_type_name] if item_type_name in registry.type_infos else None + item_long_name = definition["properties"][field_name]["type"]["$ref"].replace("#/$defs/", "") + item_definition = registry.type_infos[item_long_name] if item_long_name in registry.type_infos else None custom_prop_value = custom_property_values[field_name] #print("field name", field_name, "value", custom_prop_value) @@ -232,8 +223,8 @@ def property_group_value_from_custom_property_value(property_group, definition, custom_property_values = parse_tuplestruct_string(value, start_nesting=1 if len(nesting) == 1 else 1) for index, field_name in enumerate(property_group.field_names): - item_type_name = definition["prefixItems"][index]["type"]["$ref"].replace("#/$defs/", "") - item_definition = registry.type_infos[item_type_name] if item_type_name in registry.type_infos else None + item_long_name = definition["prefixItems"][index]["type"]["$ref"].replace("#/$defs/", "") + item_definition = registry.type_infos[item_long_name] if item_long_name in registry.type_infos else None custom_property_value = custom_property_values[index] @@ -248,8 +239,8 @@ def property_group_value_from_custom_property_value(property_group, definition, elif type_info == "TupleStruct": custom_property_values = parse_tuplestruct_string(value, start_nesting=1 if len(nesting) == 1 else 0) for index, field_name in enumerate(property_group.field_names): - item_type_name = definition["prefixItems"][index]["type"]["$ref"].replace("#/$defs/", "") - item_definition = registry.type_infos[item_type_name] if item_type_name in registry.type_infos else None + item_long_name = definition["prefixItems"][index]["type"]["$ref"].replace("#/$defs/", "") + item_definition = registry.type_infos[item_long_name] if item_long_name in registry.type_infos else None custom_prop_value = custom_property_values[index] @@ -301,23 +292,21 @@ def property_group_value_from_custom_property_value(property_group, definition, elif type_info == "List": item_list = getattr(property_group, "list") - item_type_name = getattr(property_group, "type_name_short") - custom_property_values = parse_tuplestruct_string(value, start_nesting=2 if item_type_name.startswith("wrapper_") and value.startswith('(') else 1) # TODO : the additional check here is wrong, there is an issue somewhere in higher level stuff + item_long_name = getattr(property_group, "long_name") + custom_property_values = parse_tuplestruct_string(value, start_nesting=2 if item_long_name.startswith("wrapper_") and value.startswith('(') else 1) # TODO : the additional check here is wrong, there is an issue somewhere in higher level stuff # clear list first item_list.clear() - #print("custom_property_values", custom_property_values, "value", value, "item_type_name", item_type_name) - for raw_value in custom_property_values: new_entry = item_list.add() - item_type_name = getattr(new_entry, "type_name") # we get the REAL type name - definition = registry.type_infos[item_type_name] if item_type_name in registry.type_infos else None + item_long_name = getattr(new_entry, "long_name") # we get the REAL type name + definition = registry.type_infos[item_long_name] if item_long_name in registry.type_infos else None if definition != None: property_group_value_from_custom_property_value(new_entry, definition, registry, value=raw_value, nesting=nesting) else: try: value = value.replace("(", "").replace(")", "")# FIXME: temporary, incoherent use of nesting levels between parse_tuplestruct_string & parse_struct_string - value = type_mappings[type_name](value) if type_name in type_mappings else value + value = type_mappings[long_name](value) if long_name in type_mappings else value return value except: pass \ No newline at end of file diff --git a/tools/bevy_components/propGroups/process_component.py b/tools/bevy_components/propGroups/process_component.py index 9ce705b..7c6cc14 100644 --- a/tools/bevy_components/propGroups/process_component.py +++ b/tools/bevy_components/propGroups/process_component.py @@ -8,7 +8,7 @@ from . import process_list from . import process_map def process_component(registry, definition, update, extras=None, nesting = [], nesting_long_names = []): - component_name = definition['title'] + long_name = definition['long_name'] short_name = definition["short_name"] type_info = definition["typeInfo"] if "typeInfo" in definition else None type_def = definition["type"] if "type" in definition else None @@ -21,8 +21,6 @@ def process_component(registry, definition, update, extras=None, nesting = [], n is_list = type_info == "List" is_map = type_info == "Map" - # print("processing", short_name, component_name, type_def, type_info) - __annotations__ = {} tupple_or_struct = None @@ -61,17 +59,16 @@ def process_component(registry, definition, update, extras=None, nesting = [], n extras = extras if extras is not None else { - "type_name": component_name + "long_name": long_name } - root_component = nesting_long_names[0] if len(nesting_long_names) > 0 else component_name - # print("DONE:",short_name,"__annotations__", __annotations__) + root_component = nesting_long_names[0] if len(nesting_long_names) > 0 else long_name # print("") property_group_params = { **extras, '__annotations__': __annotations__, 'tupple_or_struct': tupple_or_struct, 'field_names': field_names, - **dict(with_properties = with_properties, with_items= with_items, with_enum= with_enum, with_list= with_list, with_map = with_map, short_name= short_name), + **dict(with_properties = with_properties, with_items= with_items, with_enum= with_enum, with_list= with_list, with_map = with_map, short_name= short_name, long_name=long_name), 'root_component': root_component } #FIXME: YIKES, but have not found another way: @@ -81,12 +78,10 @@ def process_component(registry, definition, update, extras=None, nesting = [], n -BasicTest => the registration & update callback of this one overwrites the first "basicTest" have not found a cleaner workaround so far """ - property_group_name = registry.generate_propGroup_name(nesting, component_name) + property_group_name = registry.generate_propGroup_name(nesting, long_name) (property_group_pointer, property_group_class) = property_group_from_infos(property_group_name, property_group_params) # add our component propertyGroup to the registry registry.register_component_propertyGroup(property_group_name, property_group_pointer) - # for practicality, we add an entry for a reverse lookup (short => long name, since we already have long_name => short_name with the keys of the raw registry) - registry.add_shortName_to_longName(short_name, component_name) return (property_group_pointer, property_group_class) diff --git a/tools/bevy_components/propGroups/process_enum.py b/tools/bevy_components/propGroups/process_enum.py index 48ca16c..7f43929 100644 --- a/tools/bevy_components/propGroups/process_enum.py +++ b/tools/bevy_components/propGroups/process_enum.py @@ -4,7 +4,7 @@ from . import process_component def process_enum(registry, definition, update, nesting, nesting_long_names): blender_property_mapping = registry.blender_property_mapping short_name = definition["short_name"] - long_name = definition["title"] + long_name = definition["long_name"] type_def = definition["type"] if "type" in definition else None values = definition["oneOf"] @@ -21,9 +21,9 @@ def process_enum(registry, definition, update, nesting, nesting_long_names): labels = [] additional_annotations = {} for item in values: - item_name = item["title"] + item_name = item["long_name"] item_short_name = item["short_name"] if "short_name" in item else item_name - variant_name = "variant_"+item_short_name + variant_name = "variant_" + item_short_name labels.append(item_name) if "prefixItems" in item: diff --git a/tools/bevy_components/propGroups/process_list.py b/tools/bevy_components/propGroups/process_list.py index 59c2150..bc48855 100644 --- a/tools/bevy_components/propGroups/process_list.py +++ b/tools/bevy_components/propGroups/process_list.py @@ -7,15 +7,14 @@ def process_list(registry, definition, update, nesting=[], nesting_long_names=[] type_infos = registry.type_infos short_name = definition["short_name"] - long_name = definition["title"] + long_name = definition["long_name"] ref_name = definition["items"]["type"]["$ref"].replace("#/$defs/", "") nesting = nesting+[short_name] nesting_long_names = nesting_long_names + [long_name] item_definition = type_infos[ref_name] - item_long_name = item_definition["title"] - item_short_name = item_definition["short_name"] + item_long_name = item_definition["long_name"] is_item_value_type = item_long_name in value_types_defaults property_group_class = None @@ -23,16 +22,16 @@ def process_list(registry, definition, update, nesting=[], nesting_long_names=[] if is_item_value_type: property_group_class = generate_wrapper_propertyGroup(long_name, item_long_name, definition["items"]["type"]["$ref"], registry, update) else: - (_, list_content_group_class) = process_component.process_component(registry, item_definition, update, {"nested": True, "type_name": item_long_name}, nesting) + (_, list_content_group_class) = process_component.process_component(registry, item_definition, update, {"nested": True, "long_name": item_long_name}, nesting) property_group_class = list_content_group_class item_collection = CollectionProperty(type=property_group_class) - item_short_name = item_short_name if not is_item_value_type else "wrapper_" + item_short_name + item_long_name = item_long_name if not is_item_value_type else "wrapper_" + item_long_name __annotations__ = { "list": item_collection, "list_index": IntProperty(name = "Index for list", default = 0, update=update), - "type_name_short": StringProperty(default=item_short_name) + "long_name": StringProperty(default=item_long_name) } return __annotations__ \ No newline at end of file diff --git a/tools/bevy_components/propGroups/process_map.py b/tools/bevy_components/propGroups/process_map.py index fb8574b..c808406 100644 --- a/tools/bevy_components/propGroups/process_map.py +++ b/tools/bevy_components/propGroups/process_map.py @@ -7,7 +7,7 @@ def process_map(registry, definition, update, nesting=[], nesting_long_names=[]) type_infos = registry.type_infos short_name = definition["short_name"] - long_name = definition["title"] + long_name = definition["long_name"] nesting = nesting + [short_name] nesting_long_names = nesting_long_names + [long_name] @@ -19,15 +19,15 @@ def process_map(registry, definition, update, nesting=[], nesting_long_names=[]) __annotations__ = {} if key_ref_name in type_infos: key_definition = type_infos[key_ref_name] - original_type_name = key_definition["title"] - is_key_value_type = original_type_name in value_types_defaults + original_long_name = key_definition["long_name"] + is_key_value_type = original_long_name in value_types_defaults definition_link = f"#/$defs/{key_ref_name}" #if the content of the list is a unit type, we need to generate a fake wrapper, otherwise we cannot use layout.prop(group, "propertyName") as there is no propertyName ! if is_key_value_type: - keys_property_group_class = generate_wrapper_propertyGroup(f"{long_name}_values", original_type_name, definition_link, registry, update) + keys_property_group_class = generate_wrapper_propertyGroup(f"{long_name}_values", original_long_name, definition_link, registry, update) else: - (_, list_content_group_class) = process_component.process_component(registry, key_definition, update, {"nested": True, "type_name": original_type_name}, nesting, nesting_long_names) + (_, list_content_group_class) = process_component.process_component(registry, key_definition, update, {"nested": True, "long_name": original_long_name}, nesting, nesting_long_names) keys_property_group_class = list_content_group_class keys_collection = CollectionProperty(type=keys_property_group_class) @@ -40,15 +40,15 @@ def process_map(registry, definition, update, nesting=[], nesting_long_names=[]) if value_ref_name in type_infos: value_definition = type_infos[value_ref_name] - original_type_name = value_definition["title"] - is_value_value_type = original_type_name in value_types_defaults + original_long_name = value_definition["long_name"] + is_value_value_type = original_long_name in value_types_defaults definition_link = definition["additionalProperties"]["type"]["$ref"]#f"#/$defs/{value_ref_name}" #if the content of the list is a unit type, we need to generate a fake wrapper, otherwise we cannot use layout.prop(group, "propertyName") as there is no propertyName ! if is_value_value_type: - values_property_group_class = generate_wrapper_propertyGroup(f"{long_name}_keys", original_type_name, definition_link, registry, update) + values_property_group_class = generate_wrapper_propertyGroup(f"{long_name}_keys", original_long_name, definition_link, registry, update) else: - (_, list_content_group_class) = process_component.process_component(registry, value_definition, update, {"nested": True, "type_name": original_type_name}, nesting, nesting_long_names) + (_, list_content_group_class) = process_component.process_component(registry, value_definition, update, {"nested": True, "long_name": original_long_name}, nesting, nesting_long_names) values_property_group_class = list_content_group_class values_collection = CollectionProperty(type=values_property_group_class) @@ -75,7 +75,7 @@ def process_map(registry, definition, update, nesting=[], nesting_long_names=[]) """__annotations__["list"] = StringProperty(default="N/A") __annotations__["values_list"] = StringProperty(default="N/A") __annotations__["keys_setter"] = StringProperty(default="N/A")""" - + """registry.add_missing_typeInfo(key_ref_name) registry.add_missing_typeInfo(value_ref_name) # the root component also becomes invalid (in practice it is not always a component, but good enough) diff --git a/tools/bevy_components/propGroups/process_structs.py b/tools/bevy_components/propGroups/process_structs.py index beec599..8bfda0c 100644 --- a/tools/bevy_components/propGroups/process_structs.py +++ b/tools/bevy_components/propGroups/process_structs.py @@ -5,7 +5,7 @@ def process_structs(registry, definition, properties, update, nesting, nesting_l value_types_defaults = registry.value_types_defaults blender_property_mapping = registry.blender_property_mapping type_infos = registry.type_infos - long_name = definition["title"] + long_name = definition["long_name"] short_name = definition["short_name"] __annotations__ = {} @@ -13,25 +13,19 @@ def process_structs(registry, definition, properties, update, nesting, nesting_l nesting = nesting + [short_name] nesting_long_names = nesting_long_names + [long_name] - if short_name == "HashmapTestSimple": - print("Struct", short_name) for property_name in properties.keys(): ref_name = properties[property_name]["type"]["$ref"].replace("#/$defs/", "") - if short_name == "HashmapTestSimple": - print("ref name", ref_name) + if ref_name in type_infos: original = type_infos[ref_name] - original_type_name = original["title"] - is_value_type = original_type_name in value_types_defaults - value = value_types_defaults[original_type_name] if is_value_type else None + original_long_name = original["long_name"] + is_value_type = original_long_name in value_types_defaults + value = value_types_defaults[original_long_name] if is_value_type else None default_values[property_name] = value - if short_name == "HashmapTestSimple": - print("original",original, original_type_name, is_value_type, value) - if is_value_type: - if original_type_name in blender_property_mapping: - blender_property_def = blender_property_mapping[original_type_name] + if original_long_name in blender_property_mapping: + blender_property_def = blender_property_mapping[original_long_name] blender_property = blender_property_def["type"]( **blender_property_def["presets"],# we inject presets first name = property_name, @@ -40,8 +34,8 @@ def process_structs(registry, definition, properties, update, nesting, nesting_l ) __annotations__[property_name] = blender_property else: - original_long_name = original["title"] - (sub_component_group, _) = process_component.process_component(registry, original, update, {"nested": True, "type_name": original_long_name}, nesting, nesting_long_names) + original_long_name = original["long_name"] + (sub_component_group, _) = process_component.process_component(registry, original, update, {"nested": True, "long_name": original_long_name}, nesting, nesting_long_names) __annotations__[property_name] = sub_component_group # if there are sub fields, add an attribute "sub_fields" possibly a pointer property ? or add a standard field to the type , that is stored under "attributes" and not __annotations (better) else: diff --git a/tools/bevy_components/propGroups/process_tupples.py b/tools/bevy_components/propGroups/process_tupples.py index c7af472..8513875 100644 --- a/tools/bevy_components/propGroups/process_tupples.py +++ b/tools/bevy_components/propGroups/process_tupples.py @@ -5,10 +5,10 @@ def process_tupples(registry, definition, prefixItems, update, nesting=[], nesti value_types_defaults = registry.value_types_defaults blender_property_mapping = registry.blender_property_mapping type_infos = registry.type_infos - long_name = definition["title"] + long_name = definition["long_name"] short_name = definition["short_name"] - nesting = nesting+[short_name] + nesting = nesting + [short_name] nesting_long_names = nesting_long_names + [long_name] __annotations__ = {} @@ -21,16 +21,16 @@ def process_tupples(registry, definition, prefixItems, update, nesting=[], nesti if ref_name in type_infos: original = type_infos[ref_name] - original_type_name = original["title"] - is_value_type = original_type_name in value_types_defaults + original_long_name = original["long_name"] + is_value_type = original_long_name in value_types_defaults - value = value_types_defaults[original_type_name] if is_value_type else None + value = value_types_defaults[original_long_name] if is_value_type else None default_values.append(value) prefix_infos.append(original) if is_value_type: - if original_type_name in blender_property_mapping: - blender_property_def = blender_property_mapping[original_type_name] + if original_long_name in blender_property_mapping: + blender_property_def = blender_property_mapping[original_long_name] blender_property = blender_property_def["type"]( **blender_property_def["presets"],# we inject presets first name = property_name, @@ -40,8 +40,8 @@ def process_tupples(registry, definition, prefixItems, update, nesting=[], nesti __annotations__[property_name] = blender_property else: - original_long_name = original["title"] - (sub_component_group, _) = process_component.process_component(registry, original, update, {"nested": True, "type_name": original_long_name}, nesting) + original_long_name = original["long_name"] + (sub_component_group, _) = process_component.process_component(registry, original, update, {"nested": True, "long_name": original_long_name}, nesting) __annotations__[property_name] = sub_component_group else: # component not found in type_infos, generating placeholder diff --git a/tools/bevy_components/propGroups/utils.py b/tools/bevy_components/propGroups/utils.py index c96554e..0b50dd4 100644 --- a/tools/bevy_components/propGroups/utils.py +++ b/tools/bevy_components/propGroups/utils.py @@ -27,7 +27,7 @@ def generate_wrapper_propertyGroup(wrapped_type_long_name_name, item_long_name, } ], "short_name": wrapper_name, # FIXME !!! - "title": wrapper_name, + "long_name": wrapper_name, "type": "array", "typeInfo": "TupleStruct" } @@ -55,7 +55,7 @@ def generate_wrapper_propertyGroup(wrapped_type_long_name_name, item_long_name, '__annotations__': wrapper_annotations, 'tupple_or_struct': "tupple", 'field_names': ['0'], - **dict(with_properties = False, with_items= True, with_enum= False, with_list= False, with_map =False, short_name=wrapper_name, type_name=wrapper_name), + **dict(with_properties = False, with_items= True, with_enum= False, with_list= False, with_map =False, short_name=wrapper_name, long_name=wrapper_name), } property_group_class = type(property_group_name, (PropertyGroup,), property_group_params) bpy.utils.register_class(property_group_class) diff --git a/tools/bevy_components/registry/registry.py b/tools/bevy_components/registry/registry.py index 8e7b6b6..d9e6681 100644 --- a/tools/bevy_components/registry/registry.py +++ b/tools/bevy_components/registry/registry.py @@ -12,7 +12,7 @@ from ..components.metadata import ComponentMetadata, ensure_metadata_for_all_obj # helper class to store missing bevy types information class MissingBevyType(bpy.types.PropertyGroup): - type_name: bpy.props.StringProperty( + long_name: bpy.props.StringProperty( name="type", ) # type: ignore @@ -211,7 +211,6 @@ class ComponentsRegistry(PropertyGroup): type_infos = {} type_infos_missing = [] component_propertyGroups = {} - short_names_to_long_names = {} custom_types_to_add = {} invalid_components = [] @@ -243,13 +242,11 @@ class ComponentsRegistry(PropertyGroup): print("load schema", self) # cleanup previous data if any self.propGroupIdCounter = 0 - self.short_names_to_propgroup_names.clear() self.long_names_to_propgroup_names.clear() self.missing_types_list.clear() self.type_infos.clear() self.type_infos_missing.clear() self.component_propertyGroups.clear() - self.short_names_to_long_names.clear() self.custom_types_to_add.clear() self.invalid_components.clear() @@ -297,24 +294,20 @@ class ComponentsRegistry(PropertyGroup): def register_component_propertyGroup(self, name, propertyGroup): self.component_propertyGroups[name] = propertyGroup - #for practicality, we add an entry for a reverse lookup (short => long name, since we already have long_name => short_name with the keys of the raw registry) - def add_shortName_to_longName(self, short_name, long_name): - self.short_names_to_long_names[short_name] = long_name - # to be able to give the user more feedback on any missin/unregistered types in their schema file - def add_missing_typeInfo(self, type_name): - if not type_name in self.type_infos_missing: - self.type_infos_missing.append(type_name) + def add_missing_typeInfo(self, long_name): + if not long_name in self.type_infos_missing: + self.type_infos_missing.append(long_name) setattr(self, "missing_type_infos", str(self.type_infos_missing)) item = self.missing_types_list.add() - item.type_name = type_name + item.long_name = long_name - def add_custom_type(self, type_name, type_definition): - self.custom_types_to_add[type_name] = type_definition + def add_custom_type(self, long_name, type_definition): + self.custom_types_to_add[long_name] = type_definition def process_custom_types(self): - for type_name in self.custom_types_to_add: - self.type_infos[type_name] = self.custom_types_to_add[type_name] + for long_name in self.custom_types_to_add: + self.type_infos[long_name] = self.custom_types_to_add[long_name] self.custom_types_to_add.clear() # add an invalid component to the list (long name) @@ -332,30 +325,19 @@ class ComponentsRegistry(PropertyGroup): default=0 ) # type: ignore - short_names_to_propgroup_names = {} # TODO; double check if needed, remove otherwise long_names_to_propgroup_names = {} # generate propGroup name from nesting level & shortName: each shortName + nesting is unique def generate_propGroup_name(self, nesting, longName): #print("gen propGroup name for", shortName, nesting) - #if shortName in self.short_names_to_propgroup_names and len(nesting) == 0: - # return self.get_propertyGroupName_from_shortName(shortName) - self.propGroupIdCounter += 1 propGroupIndex = str(self.propGroupIdCounter) propGroupName = propGroupIndex + "_ui" - # - """key = str(nesting) + shortName if len(nesting) > 0 else shortName - self.short_names_to_propgroup_names[key] = propGroupName""" - # FIXME: key = str(nesting) + longName if len(nesting) > 0 else longName self.long_names_to_propgroup_names[key] = propGroupName return propGroupName - - def get_propertyGroupName_from_shortName(self, shortName): - return self.short_names_to_propgroup_names.get(shortName, None) def get_propertyGroupName_from_longName(self, longName): return self.long_names_to_propgroup_names.get(longName, None) diff --git a/tools/bevy_components/registry/ui.py b/tools/bevy_components/registry/ui.py index 2a42504..2e5f18d 100644 --- a/tools/bevy_components/registry/ui.py +++ b/tools/bevy_components/registry/ui.py @@ -92,7 +92,7 @@ class BEVY_COMPONENTS_PT_AdvancedToolsPanel(bpy.types.Panel): col = row.column() operator = col.operator(OT_rename_component.bl_idname, text="", icon="SHADERFX") #rename - new_name = registry.type_infos[available_components.list]['short_name'] if available_components.list in registry.type_infos else "" + new_name = registry.type_infos[available_components.list]['long_name'] if available_components.list in registry.type_infos else "" operator.original_name = component_name operator.target_objects = json.dumps([object.name]) operator.new_name = new_name @@ -285,7 +285,7 @@ class MISSING_TYPES_UL_List(UIList): default=False, options=set(), description="Reverse name filtering", - ) + ) # type: ignore use_order_name = bpy.props.BoolProperty(name="Name", default=False, options=set(), description="Sort groups by their name (case-insensitive)") @@ -303,7 +303,7 @@ class MISSING_TYPES_UL_List(UIList): print("filter, order", items, self, dict(self)) if self.filter_name: print("ssdfs", self.filter_name) - filtered= helper_funcs.filter_items_by_name(self.filter_name, self.bitflag_filter_item, items, "type_name", reverse=self.use_filter_name_reverse) + filtered= helper_funcs.filter_items_by_name(self.filter_name, self.bitflag_filter_item, items, "long_name", reverse=self.use_filter_name_reverse) if not filtered: filtered = [self.bitflag_filter_item] * len(items) @@ -320,9 +320,9 @@ class MISSING_TYPES_UL_List(UIList): row = layout.row() #row.enabled = False #row.alert = True - row.prop(item, "type_name", text="") + row.prop(item, "long_name", text="") elif self.layout_type in {'GRID'}: layout.alignment = 'CENTER' row = layout.row() - row.prop(item, "type_name", text="") + row.prop(item, "long_name", text="") diff --git a/tools/bevy_components/tests/component_values_shuffler.py b/tools/bevy_components/tests/component_values_shuffler.py index 567e1c3..6b988ca 100644 --- a/tools/bevy_components/tests/component_values_shuffler.py +++ b/tools/bevy_components/tests/component_values_shuffler.py @@ -74,8 +74,8 @@ def is_def_value_type(definition, registry): if definition == None: return True value_types_defaults = registry.value_types_defaults - type_name = definition["title"] - is_value_type = type_name in value_types_defaults + long_name = definition["long_name"] + is_value_type = long_name in value_types_defaults return is_value_type # see https://docs.python.org/3/library/random.html @@ -93,19 +93,19 @@ def component_values_shuffler(seed=1, property_group=None, definition=None, regi has_prefixItems = len(prefixItems) > 0 is_enum = type_info == "Enum" is_list = type_info == "List" - type_name = definition["title"] + long_name = definition["long_name"] - #is_value_type = type_def in value_types_defaults or type_name in value_types_defaults - is_value_type = type_name in value_types_defaults + #is_value_type = type_def in value_types_defaults or long_name in value_types_defaults + is_value_type = long_name in value_types_defaults if is_value_type: - fieldValue = type_mappings[type_name]() + fieldValue = type_mappings[long_name]() return fieldValue elif type_info == "Struct": for index, field_name in enumerate(property_group.field_names): - item_type_name = definition["properties"][field_name]["type"]["$ref"].replace("#/$defs/", "") - item_definition = registry.type_infos[item_type_name] if item_type_name in registry.type_infos else None + item_long_name = definition["properties"][field_name]["type"]["$ref"].replace("#/$defs/", "") + item_definition = registry.type_infos[item_long_name] if item_long_name in registry.type_infos else None value = getattr(property_group, field_name) is_property_group = isinstance(value, PropertyGroup) @@ -123,8 +123,8 @@ def component_values_shuffler(seed=1, property_group=None, definition=None, regi #print("tup") for index, field_name in enumerate(property_group.field_names): - item_type_name = definition["prefixItems"][index]["type"]["$ref"].replace("#/$defs/", "") - item_definition = registry.type_infos[item_type_name] if item_type_name in registry.type_infos else None + item_long_name = definition["prefixItems"][index]["type"]["$ref"].replace("#/$defs/", "") + item_definition = registry.type_infos[item_long_name] if item_long_name in registry.type_infos else None value = getattr(property_group, field_name) is_property_group = isinstance(value, PropertyGroup) @@ -142,8 +142,8 @@ def component_values_shuffler(seed=1, property_group=None, definition=None, regi elif type_info == "TupleStruct": #print("tupstruct") for index, field_name in enumerate(property_group.field_names): - item_type_name = definition["prefixItems"][index]["type"]["$ref"].replace("#/$defs/", "") - item_definition = registry.type_infos[item_type_name] if item_type_name in registry.type_infos else None + item_long_name = definition["prefixItems"][index]["type"]["$ref"].replace("#/$defs/", "") + item_definition = registry.type_infos[item_long_name] if item_long_name in registry.type_infos else None value = getattr(property_group, field_name) is_property_group = isinstance(value, PropertyGroup) @@ -158,7 +158,7 @@ def component_values_shuffler(seed=1, property_group=None, definition=None, regi setattr(property_group , field_name, value) elif type_info == "Enum": - available_variants = definition["oneOf"] if type_def != "object" else list(map(lambda x: x["title"], definition["oneOf"])) + available_variants = definition["oneOf"] if type_def != "object" else list(map(lambda x: x["long_name"], definition["oneOf"])) selected = random.choice(available_variants) # set selected variant @@ -193,14 +193,14 @@ def component_values_shuffler(seed=1, property_group=None, definition=None, regi item_list = getattr(property_group, "list") item_list.clear() - item_type_name = getattr(property_group, "type_name_short") + item_long_name = getattr(property_group, "long_name") number_of_list_items_to_add = random.randint(1, 2) for i in range(0, number_of_list_items_to_add): new_entry = item_list.add() - item_type_name = getattr(new_entry, "type_name") # we get the REAL type name + item_long_name = getattr(new_entry, "long_name") # we get the REAL type name - definition = registry.type_infos[item_type_name] if item_type_name in registry.type_infos else None + definition = registry.type_infos[item_long_name] if item_long_name in registry.type_infos else None if definition != None: component_values_shuffler(seed, new_entry, definition, registry, parent=component_name) @@ -208,7 +208,7 @@ def component_values_shuffler(seed=1, property_group=None, definition=None, regi pass else: print("something else") - fieldValue = type_mappings[type_name]() if type_name in type_mappings else 'None' + fieldValue = type_mappings[long_name]() if long_name in type_mappings else 'None' return fieldValue #return value diff --git a/tools/bevy_components/tests/setup_data.py b/tools/bevy_components/tests/setup_data.py index 32c6b30..53be3de 100644 --- a/tools/bevy_components/tests/setup_data.py +++ b/tools/bevy_components/tests/setup_data.py @@ -17,8 +17,8 @@ def setup_data(request): object = bpy.context.object remove_component_operator = bpy.ops.object.remove_bevy_component - for type_name in type_infos: - definition = type_infos[type_name] + for long_name in type_infos: + definition = type_infos[long_name] component_name = definition["short_name"] if component_name in object: try: diff --git a/tools/bevy_components/tests/test_components.py b/tools/bevy_components/tests/test_components.py index 9709ace..52ea721 100644 --- a/tools/bevy_components/tests/test_components.py +++ b/tools/bevy_components/tests/test_components.py @@ -23,9 +23,9 @@ def test_components_should_generate_correct_custom_properties(setup_data): custom_property_values = {} - for type_name in type_infos: - definition = type_infos[type_name] - component_type = definition["title"] + for long_name in type_infos: + definition = type_infos[long_name] + component_type = definition["long_name"] short_name = definition["short_name"] is_component = definition['isComponent'] if "isComponent" in definition else False if not is_component: @@ -72,9 +72,9 @@ def test_components_should_generate_correct_custom_properties_with_randomized_va custom_property_values = {} - for type_name in type_infos: - definition = type_infos[type_name] - component_type = definition["title"] + for long_name in type_infos: + definition = type_infos[long_name] + component_type = definition["long_name"] short_name = definition["short_name"] is_component = definition['isComponent'] if "isComponent" in definition else False if not is_component: @@ -121,9 +121,9 @@ def test_components_should_generate_correct_propertyGroup_values_from_custom_pro added_components = [] failing_components = [] - for type_name in type_infos: - definition = type_infos[type_name] - component_type = definition["title"] + for long_name in type_infos: + definition = type_infos[long_name] + component_type = definition["long_name"] short_name = definition["short_name"] is_component = definition['isComponent'] if "isComponent" in definition else False if not is_component: @@ -178,9 +178,9 @@ def test_remove_components(setup_data): addable_components = [] added_components = [] - for type_name in type_infos: - definition = type_infos[type_name] - component_type = definition["title"] + for long_name in type_infos: + definition = type_infos[long_name] + component_type = definition["long_name"] short_name = definition["short_name"] is_component = definition['isComponent'] if "isComponent" in definition else False if not is_component: