Anchorage API reference
Documentation
GitHub
Preparing search index...
@proofoftech/flowsafe
signal-providers
SubscriptionStore
Interface SubscriptionStore
interface
SubscriptionStore
{
listByResource
(
providerId
:
string
,
externalResourceId
:
string
,
)
:
Promise
<
SignalSubscription
[]
>
;
listForProvider
(
providerId
:
string
)
:
Promise
<
SignalSubscription
[]
>
;
listForThread
(
threadId
:
string
)
:
Promise
<
SignalSubscription
[]
>
;
subscribe
(
input
:
SubscribeInput
)
:
Promise
<
SignalSubscription
>
;
unsubscribe
(
providerId
:
string
,
externalResourceId
:
string
,
threadId
:
string
,
)
:
Promise
<
boolean
>
;
}
Index
Methods
list
By
Resource
list
For
Provider
list
For
Thread
subscribe
unsubscribe
Methods
list
By
Resource
listByResource
(
providerId
:
string
,
externalResourceId
:
string
,
)
:
Promise
<
SignalSubscription
[]
>
Parameters
providerId
:
string
externalResourceId
:
string
Returns
Promise
<
SignalSubscription
[]
>
list
For
Provider
listForProvider
(
providerId
:
string
)
:
Promise
<
SignalSubscription
[]
>
Parameters
providerId
:
string
Returns
Promise
<
SignalSubscription
[]
>
list
For
Thread
listForThread
(
threadId
:
string
)
:
Promise
<
SignalSubscription
[]
>
Parameters
threadId
:
string
Returns
Promise
<
SignalSubscription
[]
>
subscribe
subscribe
(
input
:
SubscribeInput
)
:
Promise
<
SignalSubscription
>
Parameters
input
:
SubscribeInput
Returns
Promise
<
SignalSubscription
>
unsubscribe
unsubscribe
(
providerId
:
string
,
externalResourceId
:
string
,
threadId
:
string
,
)
:
Promise
<
boolean
>
Parameters
providerId
:
string
externalResourceId
:
string
threadId
:
string
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
list
By
Resource
list
For
Provider
list
For
Thread
subscribe
unsubscribe
Documentation
GitHub
Anchorage API reference
Loading...