mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 07:04:19 +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:
2
node_modules/unified/lib/callable-instance.d.ts
generated
vendored
Normal file
2
node_modules/unified/lib/callable-instance.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export const CallableInstance: new <Parameters extends unknown[], Result>(property: string | symbol) => (...parameters: Parameters) => Result;
|
||||
//# sourceMappingURL=callable-instance.d.ts.map
|
||||
1
node_modules/unified/lib/callable-instance.d.ts.map
generated
vendored
Normal file
1
node_modules/unified/lib/callable-instance.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"callable-instance.d.ts","sourceRoot":"","sources":["callable-instance.js"],"names":[],"mappings":"AAAA,oFAEsE,MAAM,GAAG,MAAM,2CAyClF"}
|
||||
44
node_modules/unified/lib/callable-instance.js
generated
vendored
Normal file
44
node_modules/unified/lib/callable-instance.js
generated
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
export const CallableInstance =
|
||||
/**
|
||||
* @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
|
||||
*/
|
||||
(
|
||||
/** @type {unknown} */
|
||||
(
|
||||
/**
|
||||
* @this {Function}
|
||||
* @param {string | symbol} property
|
||||
* @returns {(...parameters: Array<unknown>) => unknown}
|
||||
*/
|
||||
function (property) {
|
||||
const self = this
|
||||
const constr = self.constructor
|
||||
const proto = /** @type {Record<string | symbol, Function>} */ (
|
||||
// Prototypes do exist.
|
||||
// type-coverage:ignore-next-line
|
||||
constr.prototype
|
||||
)
|
||||
const value = proto[property]
|
||||
/** @type {(...parameters: Array<unknown>) => unknown} */
|
||||
const apply = function () {
|
||||
return value.apply(apply, arguments)
|
||||
}
|
||||
|
||||
Object.setPrototypeOf(apply, proto)
|
||||
|
||||
// Not needed for us in `unified`: we only call this on the `copy`
|
||||
// function,
|
||||
// and we don't need to add its fields (`length`, `name`)
|
||||
// over.
|
||||
// See also: GH-246.
|
||||
// const names = Object.getOwnPropertyNames(value)
|
||||
//
|
||||
// for (const p of names) {
|
||||
// const descriptor = Object.getOwnPropertyDescriptor(value, p)
|
||||
// if (descriptor) Object.defineProperty(apply, p, descriptor)
|
||||
// }
|
||||
|
||||
return apply
|
||||
}
|
||||
)
|
||||
)
|
||||
1024
node_modules/unified/lib/index.d.ts
generated
vendored
Normal file
1024
node_modules/unified/lib/index.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
node_modules/unified/lib/index.d.ts.map
generated
vendored
Normal file
1
node_modules/unified/lib/index.d.ts.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1323
node_modules/unified/lib/index.js
generated
vendored
Normal file
1323
node_modules/unified/lib/index.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user