mirror of
https://github.com/dergigi/boris.git
synced 2026-01-28 19:24:26 +01:00
- Add project structure with TypeScript, React, and Vite - Implement nostr authentication using browser extension (NIP-07) - Add NIP-51 compliant bookmark fetching and display - Create minimal UI with login and bookmark components - Integrate applesauce-core and applesauce-react libraries - Add responsive styling with dark/light mode support - Include comprehensive README with setup instructions This is a minimal MVP for a nostr bookmark client that allows users to view their bookmarks according to NIP-51 specification.
20 lines
902 B
TypeScript
20 lines
902 B
TypeScript
import { NostrEvent } from "nostr-tools";
|
|
import { Action } from "../action-hub.js";
|
|
/** An action that adds a relay to a relay set*/
|
|
export declare function AddRelayToRelaySet(relay: string | string[], identifier: NostrEvent | string, hidden?: boolean): Action;
|
|
/** An action that removes a relay from a relay set */
|
|
export declare function RemoveRelayFromRelaySet(relay: string | string[], identifier: NostrEvent | string, hidden?: boolean): Action;
|
|
/** An action that creates a new relay set */
|
|
export declare function CreateRelaySet(title: string, options?: {
|
|
description?: string;
|
|
image?: string;
|
|
public?: string[];
|
|
hidden?: string[];
|
|
}): Action;
|
|
/** An action that updates the title, description, or image of a relay set */
|
|
export declare function UpdateRelaySetInformation(identifier: string, info: {
|
|
title?: string;
|
|
description?: string;
|
|
image?: string;
|
|
}): Action;
|