OrdinaryDeclaration.component: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/ordinary_declaration.bend as OrdinaryDeclaration Lines 9-13 of bendvy-ecs-core@0.1.0.3/ordinary_declaration.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/ordinary_declaration.bend&start_line=9&end_line=13 import Base # Declare a component key for payload P in schema S. Does not create storage, # spawn entities or validate collisions; compose and validate the schema before # attaching an App. Example: examples/scheduled-health/registration.bend identities. def component(~S:Data,~P:Type,key:String) -> Declaration: Declaration{key} Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/ordinary_declaration.bend&name=Declaration