Skip to content

Commit

Permalink
make 'first' and 'skip' non required
Browse files Browse the repository at this point in the history
  • Loading branch information
julianbenegas committed Jan 5, 2025
1 parent 2bc571c commit 35b5a74
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/fast-guests-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"basehub": patch
---

make first and skip non required
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"dirty-lobsters-collect",
"dry-timers-poke",
"eleven-donuts-yell",
"fast-guests-reply",
"fluffy-sloths-admire",
"forty-bees-wash",
"four-lies-travel",
Expand Down
6 changes: 6 additions & 0 deletions packages/basehub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# basehub

## 8.0.0-canary.46

### Patch Changes

- make first and skip non required

## 8.0.0-canary.45

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/basehub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "basehub",
"description": "A very fast Headless CMS.",
"author": "JB <[email protected]>",
"version": "8.0.0-canary.45",
"version": "8.0.0-canary.46",
"license": "MIT",
"repository": "basehub-ai/basehub",
"bugs": "https://github.com/basehub-ai/basehub/issues",
Expand Down
4 changes: 2 additions & 2 deletions packages/basehub/src/events/primitive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ type GetOptions<
> =
| {
type: "table";
first: number;
skip: number;
first?: number;
skip?: number;
filter?: MapScalarTypeToFilters<Scalars[`schema_${K}`]>;
orderBy?: MapScalarTypeToOrder<Scalars[`schema_${K}`]>;
select?: Select;
Expand Down
7 changes: 7 additions & 0 deletions playground/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# playground

## 0.0.164-canary.46

### Patch Changes

- Updated dependencies
- [email protected]

## 0.0.164-canary.45

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "playground",
"private": true,
"version": "0.0.164-canary.45",
"version": "0.0.164-canary.46",
"scripts": {
"dev": "basehub dev & next dev --port 3003",
"build": "basehub && next build",
Expand Down

0 comments on commit 35b5a74

Please sign in to comment.