defy.tools
Get Started
Reference
defy.tools
Subscription
Class Subscription
Hierarchy (
view full
)
ContentDocument
Subscription
Index
Constructors
constructor
Properties
content
dkx
Parent
doc
Index
error?
nostr
Event
owner
Pub
Key
verified
version
Accessors
keyset
payload
Methods
clone
delete
deserialize
publish
serialize
Constructors
constructor
new
Subscription
(
)
:
Subscription
Returns
Subscription
Properties
content
content
:
SubscriptionPayload
dkx
Parent
dkx
Parent
:
HDKIndex
doc
Index
doc
Index
:
number
Optional
error
error
?:
ContentError
nostr
Event
nostr
Event
:
Event
<
number
>
owner
Pub
Key
owner
Pub
Key
:
string
verified
verified
:
boolean
= false
version
version
:
number
= 1
Accessors
keyset
get
keyset
(
)
:
DocumentKeyset
Returns
DocumentKeyset
set
keyset
(
keyset
)
:
void
Parameters
keyset
:
DocumentKeyset
Returns
void
payload
get
payload
(
)
:
any
[]
Returns
any
[]
Methods
clone
clone
<
TCloneType
>
(
)
:
TCloneType
Type Parameters
TCloneType
extends
ContentDocument
Returns
TCloneType
delete
delete
<
TDeleteType
>
(
)
:
Observable
<
TDeleteType
>
Type Parameters
TDeleteType
extends
ContentDocument
Returns
Observable
<
TDeleteType
>
deserialize
deserialize
(
payload
)
:
any
[]
Parameters
payload
:
string
Returns
any
[]
publish
publish
<
TPublishType
>
(
options
?
)
:
Observable
<
TPublishType
>
Type Parameters
TPublishType
extends
ContentDocument
Parameters
Optional
options
:
ContentPublishOptions
Returns
Observable
<
TPublishType
>
serialize
serialize
(
)
:
string
Returns
string
Introduction
Get Started
Reference
Source
Examples
Defy Social
Get Started
Reference
Preparing search index...
The search index is not available
defy.tools
CONTENTS
Key Storage
KeyStore
KeyStoreFileStorage
KeyStoreStorage
KeyStoreWebStorage
KeyStoreConstructorArgs
KeyStoreStorageArgs
Indexes
HDKIndexType
HDKIndex
HDKIndexLoader
HDKXNotification
HDKXSequentialPrivate
HDKXSingleton
HDKXTimeBasedPublic
HDKXTwoParty
Channels
Channel
ContactChannel
PrivateChannel
Content
ContentDocument
Note
Notification
Subscription
Content Payload
NostrKinds
ContactChannelPayload
ContactInfo
ContentError
ContentTemplate
NotePayload
NotificationPayload
PrivateChannelContactInfo
PrivateChannelPayload
ProfileMetadata
SubscriptionPayload
Relay
RelayPool
ContentPublishOptions
HDKIndexQueryArgs
HDKIndexRelayFilters
NostrRelaySubscription
QueryJob
RelayRequest
RelayResponse
BIP32
HDKey
Bip32NetworkInfo
Bip32SerializationPrefix
HARDENED_KEY_OFFSET
Versions
Other
NotificationType
DefyContext
DocumentKeyset
DocumentKeysetDTO
HDKIndexDTO
SequentialKeyset
SequentialKeysetDTO
getNowSeconds
getReducedKey
uniqueNotesBySenderAndDate