Skip to content

Commit 35b5a74

Browse files
committed
make 'first' and 'skip' non required
1 parent 2bc571c commit 35b5a74

File tree

7 files changed

+23
-4
lines changed

7 files changed

+23
-4
lines changed

.changeset/fast-guests-reply.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"basehub": patch
3+
---
4+
5+
make first and skip non required

.changeset/pre.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"dirty-lobsters-collect",
1616
"dry-timers-poke",
1717
"eleven-donuts-yell",
18+
"fast-guests-reply",
1819
"fluffy-sloths-admire",
1920
"forty-bees-wash",
2021
"four-lies-travel",

packages/basehub/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# basehub
22

3+
## 8.0.0-canary.46
4+
5+
### Patch Changes
6+
7+
- make first and skip non required
8+
39
## 8.0.0-canary.45
410

511
### Patch Changes

packages/basehub/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "basehub",
33
"description": "A very fast Headless CMS.",
44
"author": "JB <[email protected]>",
5-
"version": "8.0.0-canary.45",
5+
"version": "8.0.0-canary.46",
66
"license": "MIT",
77
"repository": "basehub-ai/basehub",
88
"bugs": "https://github.com/basehub-ai/basehub/issues",

packages/basehub/src/events/primitive.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ type GetOptions<
149149
> =
150150
| {
151151
type: "table";
152-
first: number;
153-
skip: number;
152+
first?: number;
153+
skip?: number;
154154
filter?: MapScalarTypeToFilters<Scalars[`schema_${K}`]>;
155155
orderBy?: MapScalarTypeToOrder<Scalars[`schema_${K}`]>;
156156
select?: Select;

playground/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# playground
22

3+
## 0.0.164-canary.46
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
9+
310
## 0.0.164-canary.45
411

512
### Patch Changes

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "playground",
33
"private": true,
4-
"version": "0.0.164-canary.45",
4+
"version": "0.0.164-canary.46",
55
"scripts": {
66
"dev": "basehub dev & next dev --port 3003",
77
"build": "basehub && next build",

0 commit comments

Comments
 (0)