From f00031f5fa305effe2533ad406768131a2667c18 Mon Sep 17 00:00:00 2001 From: SkateSpots Date: Sat, 10 Oct 2026 17:24:15 +0700 Subject: [PATCH] fix(scripts): archive rider cards, park passes, shipment status, badges MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- scripts/archive-relay.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/archive-relay.mjs b/scripts/archive-relay.mjs index 4ac4155..9f068ff 100755 --- a/scripts/archive-relay.mjs +++ b/scripts/archive-relay.mjs @@ -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