Skip to content

Commit

Permalink
build(generated): update generator to 3.81.0
Browse files Browse the repository at this point in the history
Generated SDK source code using:
- Generator version 3.81.0
- Specification version 1.0.0-dev0.1.5
- Automation (cloudant-sdks) version 9b560e4

Signed-off-by: cloudant-sdks-automation <[email protected]>
  • Loading branch information
cloudant-sdks-automation authored and mojito317 committed Oct 27, 2023
1 parent 9a32ef2 commit 9a103a7
Show file tree
Hide file tree
Showing 2 changed files with 275 additions and 34 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ const client = CloudantV1.newInstance({});
// Start from a previously persisted seq
// Normally this would be read by the app from persistent storage
// e.g. previouslyPersistedSeq = yourAppPersistenceReadFunc()
const previouslyPersistedSeq = '3-g1AG3...'
const previouslyPersistedSeq = '3-g1AG3...';
const changesParams: PostChangesParams = {
db: 'example',
since: previouslyPersistedSeq
Expand All @@ -1259,10 +1259,10 @@ const destinationStream = new Writable({
// do something with change item
console.log(changesItem.id);
for (const change of changesItem.changes) {
console.log(change.rev)
console.log(change.rev);
}
// when change item processing is complete app can store seq
const seq = changesItem.seq
const seq = changesItem.seq;
// write seq to persistent storage for use as since if required to resume later
// e.g. yourAppPersistenceWriteFunc()
callback();
Expand Down Expand Up @@ -1294,7 +1294,7 @@ const client = CloudantV1.newInstance();
// Start from a previously persisted seq
// Normally this would be read by the app from persistent storage
// e.g. previouslyPersistedSeq = yourAppPersistenceReadFunc()
const previouslyPersistedSeq = '3-g1AG3...'
const previouslyPersistedSeq = '3-g1AG3...';
const changesParams = {
db: 'example',
since: previouslyPersistedSeq
Expand All @@ -1308,10 +1308,10 @@ const destinationStream = new Writable({
// do something with change item
console.log(changesItem.id);
for (const change of changesItem.changes) {
console.log(change.rev)
console.log(change.rev);
}
// when change item processing is complete app can store seq
const seq = changesItem.seq
const seq = changesItem.seq;
// write seq to persistent storage for use as since if required to resume later
// e.g. yourAppPersistenceWriteFunc()
callback();
Expand Down Expand Up @@ -1346,7 +1346,7 @@ const client = CloudantV1.newInstance({});
// Start from a previously persisted seq
// Normally this would be read by the app from persistent storage
// e.g. previouslyPersistedSeq = yourAppPersistenceReadFunc()
const previouslyPersistedSeq = '3-g1AG3...'
const previouslyPersistedSeq = '3-g1AG3...';
const changesParams: PostChangesParams = {
db: 'example',
since: previouslyPersistedSeq
Expand All @@ -1360,10 +1360,10 @@ const destinationStream = new Writable({
// do something with change item
console.log(changesItem.id);
for (const change of changesItem.changes) {
console.log(change.rev)
console.log(change.rev);
}
// when change item processing is complete app can store seq
const seq = changesItem.seq
const seq = changesItem.seq;
// write seq to persistent storage for use as since if required to resume later
// e.g. yourAppPersistenceWriteFunc()
callback();
Expand All @@ -1387,12 +1387,12 @@ async function getChangesFromFollower(changesItemsStream: Stream<CloudantV1.Chan
// write seq to persistent storage for use as since
console.log(changesItem.id);
for (const change of changesItem.changes) {
console.log(change.rev)
console.log(change.rev);
}
// when change item processing is complete app can store seq
seq = changesItem.seq
seq = changesItem.seq;
// write seq to persistent storage for use as since if required to resume later
// e.g. yourAppPersistenceWriteFunc()
// e.g. yourAppPersistenceWriteFunc();
}
}
*/
Expand All @@ -1413,7 +1413,7 @@ const client = CloudantV1.newInstance();
// Start from a previously persisted seq
// Normally this would be read by the app from persistent storage
// e.g. previouslyPersistedSeq = yourAppPersistenceReadFunc()
const previouslyPersistedSeq = '3-g1AG3...'
const previouslyPersistedSeq = '3-g1AG3...';
const changesParams = {
db: 'example',
since: previouslyPersistedSeq
Expand All @@ -1427,10 +1427,10 @@ const destinationStream = new Writable({
// do something with change item
console.log(changesItem.id);
for (const change of changesItem.changes) {
console.log(change.rev)
console.log(change.rev);
}
// when change item processing is complete app can store seq
const seq = changesItem.seq
const seq = changesItem.seq;
// write seq to persistent storage for use as since if required to resume later
// e.g. yourAppPersistenceWriteFunc()
callback();
Expand All @@ -1454,12 +1454,12 @@ async function getChangesFromFollower(changesItemsStream) {
// write seq to persistent storage for use as since
console.log(changesItem.id);
for (const change of changesItem.changes) {
console.log(change.rev)
console.log(change.rev);
}
// when change item processing is complete app can store seq
seq = changesItem.seq
seq = changesItem.seq;
// write seq to persistent storage for use as since if required to resume later
// e.g. yourAppPersistenceWriteFunc()
// e.g. yourAppPersistenceWriteFunc();
}
}
*/
Expand Down
Loading

0 comments on commit 9a103a7

Please sign in to comment.