Return Row from every shape, now that the alias is gone
Wave 3's app half. `-> Cells` was the grammar's second spelling for one type
and `declare!` emitted it verbatim into the generated signature, so retiring
`pub type Cells = Row` moves these six shapes with it. The `cells { .. }`
bodies are untouched.
- Co-Authored-By
- Claude Opus 5 (1M context) <noreply@anthropic.com>
- Claude-Session
- https://claude.ai/code/session_01P8ostB2UmZJGj5WjSHRSot
2 files changed,
+6 insertions,
-6 deletions
| 433 |
433 |
|
|
| 434 |
434 |
|
declare! {
|
| 435 |
435 |
|
/// One task row of a CSV preview.
|
| 436 |
|
- |
shape csv_task(task: &goingson_core::ImportTaskData) -> Cells;
|
|
436 |
+ |
shape csv_task(task: &goingson_core::ImportTaskData) -> Row;
|
| 437 |
437 |
|
|
| 438 |
438 |
|
cells {
|
| 439 |
439 |
|
cell at "Description" short(&task.description);
|
| 445 |
445 |
|
|
| 446 |
446 |
|
declare! {
|
| 447 |
447 |
|
/// One project row of a CSV preview.
|
| 448 |
|
- |
shape csv_project(project: &goingson_core::ImportProjectData) -> Cells;
|
|
448 |
+ |
shape csv_project(project: &goingson_core::ImportProjectData) -> Row;
|
| 449 |
449 |
|
|
| 450 |
450 |
|
cells {
|
| 451 |
451 |
|
cell at "Name" short(&project.name);
|
| 457 |
457 |
|
|
| 458 |
458 |
|
declare! {
|
| 459 |
459 |
|
/// One event row of a CSV preview.
|
| 460 |
|
- |
shape csv_event(event: &goingson_core::ImportEventData) -> Cells;
|
|
460 |
+ |
shape csv_event(event: &goingson_core::ImportEventData) -> Row;
|
| 461 |
461 |
|
|
| 462 |
462 |
|
cells {
|
| 463 |
463 |
|
cell at "Title" short(&event.title);
|
| 579 |
579 |
|
/// Named rather than positional: a push says "after the others", which is
|
| 580 |
580 |
|
/// only the Status column while the four before it are written in exactly
|
| 581 |
581 |
|
/// this order.
|
| 582 |
|
- |
shape contact_row(card: &crate::commands::import_external::VCardPreview) -> Cells;
|
|
582 |
+ |
shape contact_row(card: &crate::commands::import_external::VCardPreview) -> Row;
|
| 583 |
583 |
|
|
| 584 |
584 |
|
cells {
|
| 585 |
585 |
|
cell at "Name" short(&card.display_name);
|
| 640 |
640 |
|
|
| 641 |
641 |
|
declare! {
|
| 642 |
642 |
|
/// One event of an iCalendar preview.
|
| 643 |
|
- |
shape calendar_row(event: &crate::commands::import_external::IcsPreview) -> Cells;
|
|
643 |
+ |
shape calendar_row(event: &crate::commands::import_external::IcsPreview) -> Row;
|
| 644 |
644 |
|
|
| 645 |
645 |
|
cells {
|
| 646 |
646 |
|
cell at "Title" short(&event.title);
|
| 657 |
657 |
|
/// task is reachable through the status filter and a row with no move at all
|
| 658 |
658 |
|
/// is a dead row. See the module header for the eight moves the row does not
|
| 659 |
659 |
|
/// offer.
|
| 660 |
|
- |
shape row_for(listing: &Listing, task: &Task) -> Cells;
|
|
660 |
+ |
shape row_for(listing: &Listing, task: &Task) -> Row;
|
| 661 |
661 |
|
|
| 662 |
662 |
|
cells {
|
| 663 |
663 |
|
cell at "description" task.title.clone() {
|