Skip to content
1 viewer
View

Donation reference

2 pages, 5 routes, 5 connections and 3 CLI commands, generated from the declarations of Donation without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Pages · 4

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Listdonation.listlist/view/donation/list0Donationin navigation
Createdonation.createeditor/view/donation/create80donation.listDonationin navigation
Donation receiptdonation.receiptcustom/view/donation/{donation_id}100Donationhidden
Item lineagedonation.lineagecustom/view/donation/lineage/{item_ref}110hidden
4 rows

Connections · 5

Donation.Get

Fetch one donation (the receipt-bearing record).

Donation.Get input
FieldTypeRequiredDescriptionAllowed
donation_idrequired
1 row
Calls and output
  • Output keydonation.result
  • Classificationroute_handler
  • POST /donation/getHTTP route

Donation.Intake

Record a drop-off: persist the receipt-bearing Donation, create an Item per line (Item.Upsert), land stock (Inventory.Receive), log donate/transfer verbs (Action.Record), and mail the receipt (Notification.Create).

Donation.Intake input
FieldTypeRequiredDescriptionAllowed
donor_namerequired
1 row
Calls and output

Donation.Lineage

Provenance fold for one item: donation root + Action timeline + stock movements, each read from the surface that owns it.

Donation.Lineage input
FieldTypeRequiredDescriptionAllowed
item_refrequired
1 row
Calls and output

Donation.List

List the donations the calling account recorded (newest first; optional 'donor' filter by name / peer id / email).

Calls and output

Donation.Rekey

Operator only. Count the donations still under a derivable receipt id; with apply, move them to random ids (the old links stop opening the receipt); with resend, send each donor the new link once (Notification.Create).

Calls and output
  • Output keydonation.result
  • Classificationreal
  • POST /donation/rekeyHTTP route

CLI commands · 3

donation intake

Record a drop-off: receipt + items + stock + donate/transfer verbs

donation intake {"donor_name":"Jamie","donor_email":"jamie@example.org","lines":[{"item_name":"Brass lamp","est_value_minor":1500},{"item_name":"Fabric scraps","quantity":4,"unit":"lb","category":"textiles"}]}

donation lineage

Provenance fold for one item: donation root + verb timeline + stock movements

donation lineage {"item_ref":"item-..."}

donation list

List the donations your account recorded (newest first)

donation list

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerDonation
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
Hyper vertex kinds written
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Protocol

Structure review · 1

Warnings · 1