mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 07:04:19 +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.
21 lines
817 B
JavaScript
21 lines
817 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.createNotification = exports.nextNotification = exports.errorNotification = exports.COMPLETE_NOTIFICATION = void 0;
|
|
exports.COMPLETE_NOTIFICATION = (function () { return createNotification('C', undefined, undefined); })();
|
|
function errorNotification(error) {
|
|
return createNotification('E', undefined, error);
|
|
}
|
|
exports.errorNotification = errorNotification;
|
|
function nextNotification(value) {
|
|
return createNotification('N', value, undefined);
|
|
}
|
|
exports.nextNotification = nextNotification;
|
|
function createNotification(kind, value, error) {
|
|
return {
|
|
kind: kind,
|
|
value: value,
|
|
error: error,
|
|
};
|
|
}
|
|
exports.createNotification = createNotification;
|
|
//# sourceMappingURL=NotificationFactories.js.map
|