Skip to content

Commit

Permalink
only expose supported types in subscribe options
Browse files Browse the repository at this point in the history
  • Loading branch information
david-plugge committed Jan 31, 2024
1 parent 5b35fef commit e22e425
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/gold-socks-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"typed-pocketbase": patch
---

only expose supported types for subscribe options
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"changesets": [
"cuddly-parrots-shout",
"gentle-schools-flow",
"gold-socks-wink",
"honest-ants-rest",
"young-apes-brush"
]
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# typed-pocketbase

## 0.1.0-pre.2

### Patch Changes

- only expose supported types for subscribe options

## 0.1.0-pre.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typed-pocketbase",
"version": "0.1.0-pre.1",
"version": "0.1.0-pre.2",
"description": "Add types to the PocketBase JavaScript SDK",
"author": "David Plugge",
"repository": {
Expand Down
2 changes: 0 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ export interface ViewCollectionService<
) => void,
options?: {
select?: TSelect;
sort?: MaybeArray<Sort<ExpandedRecord>>;
filter?: Filter<ExpandedRecord>;
} & SendOptions
): Promise<UnsubscribeFunc>;

Expand Down

0 comments on commit e22e425

Please sign in to comment.