// CARDS ARE THE DEFAULT (owner, 22 Oct 2026 05:00 IST): a tool whose// definition carries a `card` draws its views as a deck, one record in// front; a tool with no card keeps today's list until the core gives it one.// The deck is the whole UI (23 Oct): the "Classic lists" switch is gone.importSwiftUIpublicenumDeckSwitch {/// Whether a list is drawn as the deck: the table (or its view) carries a/// card, the view names no list or grid face of its own, and the list is/// a tool's plain list (not picking, ticking or the archive).staticfunc draws(_ definition: TableDefinition, view: ToolView.Read?, plain: Bool) -> Bool {guard plain, let face = definition.card?.face, DeckFace.draws(face) else { returnfalse }return view?.face != "list" && view?.face != "grid" }}