mirror of
https://github.com/dergigi/boris.git
synced 2025-12-27 19:44:40 +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.
24 lines
665 B
TypeScript
24 lines
665 B
TypeScript
type GeneratedColumn = number;
|
|
type SourcesIndex = number;
|
|
type SourceLine = number;
|
|
type SourceColumn = number;
|
|
type NamesIndex = number;
|
|
|
|
type GeneratedLine = number;
|
|
|
|
export type SourceMapSegment =
|
|
| [GeneratedColumn]
|
|
| [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn]
|
|
| [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn, NamesIndex];
|
|
|
|
export type ReverseSegment = [SourceColumn, GeneratedLine, GeneratedColumn];
|
|
|
|
export const COLUMN = 0;
|
|
export const SOURCES_INDEX = 1;
|
|
export const SOURCE_LINE = 2;
|
|
export const SOURCE_COLUMN = 3;
|
|
export const NAMES_INDEX = 4;
|
|
|
|
export const REV_GENERATED_LINE = 1;
|
|
export const REV_GENERATED_COLUMN = 2;
|