@superdurable/connector-buffer 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -1
- package/dex-connector.json +751 -2
- package/dist/chunk-Q62AX6CW.js +603 -0
- package/dist/connection-BmjeWE6m.d.ts +422 -0
- package/dist/index.d.ts +585 -5
- package/dist/index.js +896 -27
- package/dist/mock.d.ts +213 -5
- package/dist/mock.js +523 -7
- package/package.json +3 -3
- package/dist/chunk-VOOXKNLI.js +0 -106
- package/dist/connection-BRLi-NI_.d.ts +0 -72
package/README.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
1
|
# Buffer TypeScript connector
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Install `@superdurable/connector-buffer@0.2.0`. The package requires
|
|
4
|
+
`@superdurable/connectors-sdk@0.12.0` and `@superdurable/dex>=1.28.0`.
|
|
5
|
+
|
|
6
|
+
| Resource | Step factories |
|
|
7
|
+
| --- | --- |
|
|
8
|
+
| Organization and channel | `newListOrganizationsStep`, `newListChannelsStep`, `newGetChannelStep` |
|
|
9
|
+
| Idea | `newCreateIdeaStep`, `newListIdeasStep` |
|
|
10
|
+
| Post | `newGetPostStep`, `newListPostsStep`, `newCreatePostStep`, `newCreateScheduledPostStep`, `newPublishPostNowStep`, `newEditPostStep`, `newDeletePostStep` |
|
|
11
|
+
|
|
12
|
+
Pass `endCursor` back as `after` when `hasNextPage` is true.
|
|
13
|
+
Idea and post creation use bounded dispatch and select `uncertain` when
|
|
14
|
+
Buffer may have processed all allowed sends. Set `maxSends` on a creation
|
|
15
|
+
Step to control its send cap. See the [operation contract](../README.md).
|
|
16
|
+
|
|
17
|
+
Supply all 12 operation bindings if you call `newConnectionWithOperations`
|
|
18
|
+
directly. The generated mocks supply manifest defaults.
|
|
19
|
+
|
|
20
|
+
Configure the private `buffer` connection and run the
|
|
21
|
+
[example Worker](examples/channel-read/README.md). Run `npm ci && npm run check`
|
|
22
|
+
for the package checks and Go-recorded conformance. With
|
|
23
|
+
`DEX_FLOW_SERVICE_ADDRESS` set to the gRPC address of a running `dexcli dev`,
|
|
24
|
+
run `npm run test:integration` for real Dex integration against
|
|
25
|
+
synthetic Buffer responses.
|