def described

bendvy-ecs-core@0.1.0.4 · ordinary_app_schedule_description.bend:43

import bendvy-ecs-core@0.1.0.4/ordinary_app_schedule_description.bend as OrdinaryAppScheduleDescription
import Base
import bendvy-ecs-core@0.1.0.4/ordinary_app_schedule.bend as Schedule
import bendvy-ecs-core@0.1.0.4/ordinary_app_schema.bend as SchemaApp
import bendvy-ecs-core@0.1.0.4/ordinary_app_observation_data.bend as DTO

43# Derive placements from the original snapshot's retained plan and bindings,
44# preserving that original complete description.
45def described(~S:Data,~Rows:Data,+description:Schedule.Description<S,Rows>) -> Description<S,Rows>:
46  match description:
47    case Schedule.Description{SchemaApp.Description{_,DTO.Product{bindings,_}},namespace,_,steps}:Description{description,placed(~S,steps,namespace,bindings,0n)}

Uses (5)

Used by (3)