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:
parent
f1497fc0bf
commit
f00031f5fa
1 changed files with 4 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ const PROFILE_KIND = 0;
|
||||||
const EXCLUSIVE_KINDS = [
|
const EXCLUSIVE_KINDS = [
|
||||||
2259, // spot status reports
|
2259, // spot status reports
|
||||||
7103, // event updates
|
7103, // event updates
|
||||||
|
1293, // witnessed skill badges (rider cards)
|
||||||
9087, // crew endorsements
|
9087, // crew endorsements
|
||||||
24899, // spot chat
|
24899, // spot chat
|
||||||
30017, // skate shops
|
30017, // skate shops
|
||||||
|
|
@ -56,7 +57,10 @@ const EXCLUSIVE_KINDS = [
|
||||||
31872, // trade confirmation requests
|
31872, // trade confirmation requests
|
||||||
31873, // trusted-trader recommendations
|
31873, // trusted-trader recommendations
|
||||||
31969, // crew join requests
|
31969, // crew join requests
|
||||||
|
32271, // rider cards (addressable, d=rider-card)
|
||||||
32671, // Sasquatch Pro receipts
|
32671, // Sasquatch Pro receipts
|
||||||
|
34967, // shipment status (addressable)
|
||||||
|
35679, // park access passes (addressable)
|
||||||
36229, // crew invites
|
36229, // crew invites
|
||||||
36387, // collective join requests
|
36387, // collective join requests
|
||||||
...Array.from({ length: 15 }, (_, i) => 35000 + i), // 35000–35014 role/crew profiles
|
...Array.from({ length: 15 }, (_, i) => 35000 + i), // 35000–35014 role/crew profiles
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue