Event Recovery
Search and recover old versions of replaceable events
Select Event Kind:
Choose a replaceable kind...
{#each replaceableKinds as kind}
{kind.label}
{/each}
Or enter custom kind number:
{#if (recoverySelectedKind !== null && recoverySelectedKind !== undefined && recoverySelectedKind >= 0) || (recoveryCustomKind !== "" && parseInt(recoveryCustomKind) >= 0)}
{#if isLoadingRecovery}
Loading events...
{:else if recoveryEvents.length === 0}
No events found for this kind
{:else}
{#each recoveryEvents as event} {@const isCurrent = isCurrentVersion(event)}
{#if isCurrent} Current Version{/if}
{new Date( event.created_at * 1000, ).toLocaleString()}
{#if !isCurrent}
repostEventToAll(event)} > 🌐 Repost to All
repostEvent(event)} > 🔄 Repost
{/if}
copyEventToClipboard(event, e)} > 📋 Copy JSON
{JSON.stringify( event, null, 2, )}
{/each}
{#if recoveryHasMore}
Load More Events
{/if} {/if}
{/if}