mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 15:14:20 +01:00
feat: initialize markr nostr bookmark client
- 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.
This commit is contained in:
32
node_modules/graphemer/lib/GraphemerHelper.d.ts
generated
vendored
Normal file
32
node_modules/graphemer/lib/GraphemerHelper.d.ts
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
declare class GraphemerHelper {
|
||||
/**
|
||||
* Check if the the character at the position {pos} of the string is surrogate
|
||||
* @param str {string}
|
||||
* @param pos {number}
|
||||
* @returns {boolean}
|
||||
*/
|
||||
static isSurrogate(str: string, pos: number): boolean;
|
||||
/**
|
||||
* The String.prototype.codePointAt polyfill
|
||||
* Private function, gets a Unicode code point from a JavaScript UTF-16 string
|
||||
* handling surrogate pairs appropriately
|
||||
* @param str {string}
|
||||
* @param idx {number}
|
||||
* @returns {number}
|
||||
*/
|
||||
static codePointAt(str: string, idx: number): number;
|
||||
/**
|
||||
* Private function, returns whether a break is allowed between the two given grapheme breaking classes
|
||||
* Implemented the UAX #29 3.1.1 Grapheme Cluster Boundary Rules on extended grapheme clusters
|
||||
* @param start {number}
|
||||
* @param mid {Array<number>}
|
||||
* @param end {number}
|
||||
* @param startEmoji {number}
|
||||
* @param midEmoji {Array<number>}
|
||||
* @param endEmoji {number}
|
||||
* @returns {number}
|
||||
*/
|
||||
static shouldBreak(start: number, mid: number[], end: number, startEmoji: number, midEmoji: number[], endEmoji: number): number;
|
||||
}
|
||||
export default GraphemerHelper;
|
||||
//# sourceMappingURL=GraphemerHelper.d.ts.map
|
||||
Reference in New Issue
Block a user