Skip to content

Commit 8155279

Browse files
Merge branch 'master' into danny/connect-link-docs
2 parents 9727a18 + 38d537b commit 8155279

File tree

20 files changed

+198
-93
lines changed

20 files changed

+198
-93
lines changed

components/nocodb/actions/add-record/add-record.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "nocodb-add-record",
66
name: "Add Record",
77
description: "This action adds a record in a table. [See the documentation](https://data-apis-v2.nocodb.com/#tag/Table-Records/operation/db-data-table-row-create)",
8-
version: "0.0.3",
8+
version: "0.0.4",
99
type: "action",
1010
props: {
1111
...common.props,

components/nocodb/actions/delete-record/delete-record.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "nocodb-delete-record",
66
name: "Delete Record",
77
description: "This action deletes a row in a table. [See the documentation](https://data-apis-v2.nocodb.com/#tag/Table-Records/operation/db-data-table-row-delete)",
8-
version: "0.0.3",
8+
version: "0.0.4",
99
type: "action",
1010
props: {
1111
...common.props,

components/nocodb/actions/get-record/get-record.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "nocodb-get-record",
66
name: "Get Record (from row number)",
77
description: "This action gets a row by row Id. [See the documentation](https://data-apis-v2.nocodb.com/#tag/Table-Records/operation/db-data-table-row-read)",
8-
version: "0.0.3",
8+
version: "0.0.4",
99
type: "action",
1010
props: {
1111
...common.props,

components/nocodb/actions/list-records-matching-criteria/list-records-matching-criteria.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "nocodb-list-records-matching-criteria",
66
name: "List Records in Table Matching Criteria",
77
description: "This action lists all rows in a table. [See the documentation](https://data-apis-v2.nocodb.com/#tag/Table-Records/operation/db-data-table-row-list)",
8-
version: "0.0.4",
8+
version: "0.0.5",
99
type: "action",
1010
props: {
1111
...common.props,

components/nocodb/actions/update-record/update-record.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "nocodb-update-record",
66
name: "Update Record",
77
description: "This action updates a record in a table. [See the documentation](https://data-apis-v2.nocodb.com/#tag/Table-Records/operation/db-data-table-row-update)",
8-
version: "0.0.3",
8+
version: "0.0.4",
99
type: "action",
1010
props: {
1111
...common.props,

components/nocodb/nocodb.app.mjs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,24 +119,26 @@ export default {
119119
async *paginate({
120120
fn, args = {}, max,
121121
}) {
122-
let lastPage, count = 0;
122+
let hasMore = false;
123+
let count = 0;
123124
args.params = {
124125
...args.params,
125-
page: 1,
126+
offset: 0,
127+
limit: 1000,
126128
};
127129
do {
128130
const {
129131
list, pageInfo,
130132
} = await fn(args);
131133
for (const item of list) {
134+
args.params.offset++;
132135
yield item;
133136
if (max && ++count === max) {
134137
return;
135138
}
136139
}
137-
args.params.page++;
138-
lastPage = !pageInfo.isLastPage;
139-
} while (lastPage);
140+
hasMore = !pageInfo.isLastPage;
141+
} while (hasMore);
140142
},
141143
listWorkspaces(opts = {}) {
142144
return this._makeRequest({

components/nocodb/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/nocodb",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"description": "Pipedream Nocodb Components",
55
"main": "nocodb.app.mjs",
66
"keywords": [

components/nocodb/sources/new-record/new-record.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
name: "New Record in Table",
77
key: "nocodb-new-record",
88
description: "Emit new event for each new record in table. [See the documentation](https://data-apis-v2.nocodb.com/#tag/Table-Records/operation/db-data-table-row-list)",
9-
version: "0.0.4",
9+
version: "0.0.5",
1010
dedupe: "unique",
1111
props: {
1212
...common.props,

components/nocodb/sources/updated-record/updated-record.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
name: "New Update in Table",
77
key: "nocodb-updated-record",
88
description: "Emit new event for each update in table. [See the documentation](https://data-apis-v2.nocodb.com/#tag/Table-Records/operation/db-data-table-row-list)",
9-
version: "0.0.4",
9+
version: "0.0.5",
1010
dedupe: "unique",
1111
props: {
1212
...common.props,

components/pixelbin/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@pipedream/pixelbin",
3+
"version": "0.0.1",
4+
"description": "Pipedream Pixelbin Components",
5+
"main": "pixelbin.app.mjs",
6+
"keywords": [
7+
"pipedream",
8+
"pixelbin"
9+
],
10+
"homepage": "https://pipedream.com/apps/pixelbin",
11+
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
12+
"publishConfig": {
13+
"access": "public"
14+
}
15+
}

0 commit comments

Comments
 (0)