fix(scripts): archive rider cards, park passes, shipment status, badges

The archive kind list had drifted: it omitted four app kinds that shipped
after it was written — 32271 rider cards, 35679 park access passes, 34967
shipment status, 1293 witnessed skill badges. Without them a restore to a
new relay would have dropped that content. Verified the archive/restore
loop end-to-end: 113 events archived, restored into a throwaway relay,
113 read back, same kinds and authors, 0 failures.
This commit is contained in:
SkateSpots 2026-10-10 17:24:15 +07:00
parent f1497fc0bf
commit f00031f5fa

View file

@ -46,6 +46,7 @@ const PROFILE_KIND = 0;
const EXCLUSIVE_KINDS = [
2259, // spot status reports
7103, // event updates
1293, // witnessed skill badges (rider cards)
9087, // crew endorsements
24899, // spot chat
30017, // skate shops
@ -56,7 +57,10 @@ const EXCLUSIVE_KINDS = [
31872, // trade confirmation requests
31873, // trusted-trader recommendations
31969, // crew join requests
32271, // rider cards (addressable, d=rider-card)
32671, // Sasquatch Pro receipts
34967, // shipment status (addressable)
35679, // park access passes (addressable)
36229, // crew invites
36387, // collective join requests
...Array.from({ length: 15 }, (_, i) => 35000 + i), // 35000–35014 role/crew profiles