This commit is contained in:
Shusui MOYATANI
2023-03-07 02:41:39 +09:00
parent 3e53c26743
commit 95ac96c89a
10 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
// NIP-18 (DEPRECATED) // NIP-18 (DEPRECATED)
import { Show, Switch, Match, type Component } from 'solid-js'; import { Show, Switch, Match, type Component } from 'solid-js';
import { Event as NostrEvent } from 'nostr-tools/event'; import { Event as NostrEvent } from 'nostr-tools';
import ArrowPathRoundedSquare from 'heroicons/24/outline/arrow-path-rounded-square.svg'; import ArrowPathRoundedSquare from 'heroicons/24/outline/arrow-path-rounded-square.svg';
import useConfig from '@/clients/useConfig'; import useConfig from '@/clients/useConfig';

View File

@@ -1,5 +1,5 @@
import { For, Switch, Match, type Component } from 'solid-js'; import { For, Switch, Match, type Component } from 'solid-js';
import { Kind, type Event as NostrEvent } from 'nostr-tools/event'; import { Kind, type Event as NostrEvent } from 'nostr-tools';
import TextNote from '@/components/TextNote'; import TextNote from '@/components/TextNote';
import Reaction from '@/components/notification/Reaction'; import Reaction from '@/components/notification/Reaction';

View File

@@ -1,5 +1,5 @@
import { createSignal, createMemo, type Component, type JSX } from 'solid-js'; import { createSignal, createMemo, type Component, type JSX } from 'solid-js';
import type { Event as NostrEvent } from 'nostr-tools/event'; import type { Event as NostrEvent } from 'nostr-tools';
import PaperAirplane from 'heroicons/24/solid/paper-airplane.svg'; import PaperAirplane from 'heroicons/24/solid/paper-airplane.svg';

View File

@@ -1,5 +1,5 @@
import { Show, For, createSignal, createMemo, type JSX, type Component } from 'solid-js'; import { Show, For, createSignal, createMemo, type JSX, type Component } from 'solid-js';
import type { Event as NostrEvent } from 'nostr-tools/event'; import type { Event as NostrEvent } from 'nostr-tools';
import uniq from 'lodash/uniq'; import uniq from 'lodash/uniq';
import HeartOutlined from 'heroicons/24/outline/heart.svg'; import HeartOutlined from 'heroicons/24/outline/heart.svg';

View File

@@ -1,5 +1,5 @@
import { For, Switch, Match, type Component } from 'solid-js'; import { For, Switch, Match, type Component } from 'solid-js';
import { Kind, type Event as NostrEvent } from 'nostr-tools/event'; import { Kind, type Event as NostrEvent } from 'nostr-tools';
import TextNote from '@/components/TextNote'; import TextNote from '@/components/TextNote';
import DeprecatedRepost from '@/components/DeprecatedRepost'; import DeprecatedRepost from '@/components/DeprecatedRepost';

View File

@@ -1,5 +1,5 @@
import { Switch, Match, type Component, Show } from 'solid-js'; import { Switch, Match, type Component, Show } from 'solid-js';
import { type Event as NostrEvent } from 'nostr-tools/event'; import { type Event as NostrEvent } from 'nostr-tools';
import HeartSolid from 'heroicons/24/solid/heart.svg'; import HeartSolid from 'heroicons/24/solid/heart.svg';
import UserDisplayName from '@/components/UserDisplayName'; import UserDisplayName from '@/components/UserDisplayName';

View File

@@ -1,6 +1,6 @@
import { For } from 'solid-js'; import { For } from 'solid-js';
import parseTextNote, { type ParsedTextNoteNode } from '@/core/parseTextNote'; import parseTextNote, { type ParsedTextNoteNode } from '@/core/parseTextNote';
import type { Event as NostrEvent } from 'nostr-tools/event'; import type { Event as NostrEvent } from 'nostr-tools';
import PlainTextDisplay from '@/components/textNote/PlainTextDisplay'; import PlainTextDisplay from '@/components/textNote/PlainTextDisplay';
import MentionedUserDisplay from '@/components/textNote/MentionedUserDisplay'; import MentionedUserDisplay from '@/components/textNote/MentionedUserDisplay';
import MentionedEventDisplay from '@/components/textNote/MentionedEventDisplay'; import MentionedEventDisplay from '@/components/textNote/MentionedEventDisplay';

View File

@@ -1,4 +1,4 @@
import type { Event as NostrEvent } from 'nostr-tools/event'; import type { Event as NostrEvent } from 'nostr-tools';
export type EventMarker = 'reply' | 'root' | 'mention'; export type EventMarker = 'reply' | 'root' | 'mention';
export type TaggedEvent = { export type TaggedEvent = {

View File

@@ -1,4 +1,4 @@
import type { Event as NostrEvent } from 'nostr-tools/event'; import type { Event as NostrEvent } from 'nostr-tools';
export type PlainText = { export type PlainText = {
type: 'PlainText'; type: 'PlainText';

View File

@@ -1,6 +1,6 @@
// The original code was published under the public domain license (CC0-1.0). // The original code was published under the public domain license (CC0-1.0).
// https://gist.github.com/syusui-s/cd5482ddfc83792b54a756759acbda55 // https://gist.github.com/syusui-s/cd5482ddfc83792b54a756759acbda55
import { type Event as NostrEvent } from 'nostr-tools/event'; import { type Event as NostrEvent } from 'nostr-tools';
type NostrAPI = { type NostrAPI = {
/** returns a public key as hex */ /** returns a public key as hex */