feat: optimize the display effect of other kinds of events
This commit is contained in:
parent
5e3fd93a23
commit
73b38d37e7
17 changed files with 719 additions and 66 deletions
|
|
@ -25,6 +25,7 @@ export const SEARCHABLE_RELAY_URLS = ['wss://relay.nostr.band/', 'wss://search.n
|
|||
|
||||
export const PICTURE_EVENT_KIND = 20
|
||||
export const COMMENT_EVENT_KIND = 1111
|
||||
export const GROUP_METADATA_EVENT_KIND = 39000
|
||||
|
||||
export const URL_REGEX = /https?:\/\/[\w\p{L}\p{N}\p{M}&.-/?=#\-@%+_,:!~*]+/gu
|
||||
export const EMAIL_REGEX = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue