Search
Preparing search index...
The search index is not available
@inkandswitch/backchannel
Options
All
Public
Public/Protected
All
Inherited
Menu
@inkandswitch/backchannel
automerge-db
DB
Class DB
Hierarchy
Dexie
DB
Index
Constructors
constructor
Properties
blobs
changes
documents
states
Methods
destroy
get
Doc
get
Sync
State
save
Snapshot
store
Change
store
Sync
State
Abort
Error
Constraint
Error
Data
Clone
Error
Data
Error
Database
Closed
Error
Foreign
Await
Error
Internal
Error
Invalid
Access
Error
Invalid
Argument
Error
Invalid
State
Error
Invalid
Table
Error
MissingAPIError
No
Such
Database
Error
Not
Found
Error
Open
Failed
Error
Premature
Commit
Error
Quota
Exceeded
Error
Read
Only
Error
Schema
Error
Sub
Transaction
Error
Timeout
Error
Transaction
Inactive
Error
Unknown
Error
Unsupported
Error
Upgrade
Error
Version
Change
Error
Version
Error
Constructors
constructor
new DB
(
dbname
:
any
)
:
DB
Parameters
dbname:
any
Returns
DB
Properties
blobs
blobs
:
Table
<
SavedBlob
,
string
>
changes
changes
:
Table
<
SavedChange
,
string
>
documents
documents
:
Table
<
SavedBinary
,
string
>
states
states
:
Table
<
SavedState
,
any
>
Methods
destroy
destroy
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Doc
get
Doc
(
docId
:
string
)
:
Promise
<
Doc
>
Parameters
docId:
string
Returns
Promise
<
Doc
>
get
Sync
State
get
Sync
State
(
docId
:
string
, contactId
:
string
)
:
Promise
<
SyncState
>
Parameters
docId:
string
contactId:
string
Returns
Promise
<
SyncState
>
save
Snapshot
save
Snapshot
(
docId
:
any
)
:
Promise
<
[
string
,
void
]
>
Parameters
docId:
any
Returns
Promise
<
[
string
,
void
]
>
store
Change
store
Change
(
docId
:
string
, change
:
BinaryChange
)
:
Promise
<
string
>
Parameters
docId:
string
change:
BinaryChange
Returns
Promise
<
string
>
store
Sync
State
store
Sync
State
(
docId
:
string
, contactId
:
string
, state
:
SyncState
)
:
Promise
<
any
>
Parameters
docId:
string
contactId:
string
state:
SyncState
Returns
Promise
<
any
>
Static
Abort
Error
Abort
Error
:
Static
Constraint
Error
Constraint
Error
:
Static
Data
Clone
Error
Data
Clone
Error
:
Static
Data
Error
Data
Error
:
Static
Database
Closed
Error
Database
Closed
Error
:
Static
Foreign
Await
Error
Foreign
Await
Error
:
Static
Internal
Error
Internal
Error
:
Static
Invalid
Access
Error
Invalid
Access
Error
:
Static
Invalid
Argument
Error
Invalid
Argument
Error
:
Static
Invalid
State
Error
Invalid
State
Error
:
Static
Invalid
Table
Error
Invalid
Table
Error
:
Static
MissingAPIError
MissingAPIError
:
Static
No
Such
Database
Error
No
Such
Database
Error
:
Static
Not
Found
Error
Not
Found
Error
:
Static
Open
Failed
Error
Open
Failed
Error
:
Static
Premature
Commit
Error
Premature
Commit
Error
:
Static
Quota
Exceeded
Error
Quota
Exceeded
Error
:
Static
Read
Only
Error
Read
Only
Error
:
Static
Schema
Error
Schema
Error
:
Static
Sub
Transaction
Error
Sub
Transaction
Error
:
Static
Timeout
Error
Timeout
Error
:
Static
Transaction
Inactive
Error
Transaction
Inactive
Error
:
Static
Unknown
Error
Unknown
Error
:
Static
Unsupported
Error
Unsupported
Error
:
Static
Upgrade
Error
Upgrade
Error
:
Static
Version
Change
Error
Version
Change
Error
:
Static
Version
Error
Version
Error
:
Exports
automerge-
db
backchannel
backchannel.test
blobs
crypto
db
db.test
index
types
wormhole
DB
constructor
blobs
changes
documents
states
destroy
get
Doc
get
Sync
State
save
Snapshot
store
Change
store
Sync
State
Abort
Error
Constraint
Error
Data
Clone
Error
Data
Error
Database
Closed
Error
Foreign
Await
Error
Internal
Error
Invalid
Access
Error
Invalid
Argument
Error
Invalid
State
Error
Invalid
Table
Error
MissingAPIError
No
Such
Database
Error
Not
Found
Error
Open
Failed
Error
Premature
Commit
Error
Quota
Exceeded
Error
Read
Only
Error
Schema
Error
Sub
Transaction
Error
Timeout
Error
Transaction
Inactive
Error
Unknown
Error
Unsupported
Error
Upgrade
Error
Version
Change
Error
Version
Error
Doc
Generated using
TypeDoc