.client

Type: Client

.create(channelId:

string

,

options:RESTPostDocsBody)

Type: Promise<DocPayload>

Create a new Doc.

.delete(channelId:

string

,

docId:

number

)

Type: Promise<void>

Delete a Doc from a channel.

.fetch(channelId:

string

,

docId:

number

)

Type: Promise<DocPayload>

Fetch a Doc from a channel.

.fetchMany(channelId:

string

)

Type: Promise<unknown>

Fetches multiple Docs from a channel.

.update(channelId:

string

,

docId:

number

,

options:RESTPutDocBody)

Type: Promise<DocPayload>

Update a Doc.