Skip to content

Commit

Permalink
make password and passwordConfirm optional on update
Browse files Browse the repository at this point in the history
  • Loading branch information
david-plugge committed Feb 5, 2024
1 parent 15bac1c commit 44d6dd8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"gold-socks-wink",
"honest-ants-rest",
"sixty-hotels-complain",
"tough-books-smoke",
"young-apes-brush"
]
}
5 changes: 5 additions & 0 deletions .changeset/tough-books-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"typed-pocketbase": patch
---

make password and passwordConfirm optional on update
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.6

### Patch Changes

- make password and passwordConfirm optional on update

## 0.1.0-pre.5

### 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.5",
"version": "0.1.0-pre.6",
"description": "Add types to the PocketBase JavaScript SDK",
"author": "David Plugge",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions src/codegen/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,11 @@ export interface AuthCollectionUpdate {
/**
* New auth record password.
*/
password: string;
password?: string;
/**
* New auth record password confirmation.
*/
passwordConfirm: string;
passwordConfirm?: string;
/**
* Indicates whether the auth record is verified or not.
* This field can be set only by admins or auth records with "Manage" access.
Expand Down

0 comments on commit 44d6dd8

Please sign in to comment.