Skip to content

Commit a90eefb

Browse files
committed
feat(types): add userByName method to tailor.idp.Client
1 parent 9b6753a commit a90eefb

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.changeset/add-idp-user-by-name.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tailor-platform/function-types": patch
3+
---
4+
5+
Add `userByName` method to `tailor.idp.Client` for fetching a user by name

packages/types/tailor.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,11 @@ declare namespace tailor.idp {
381381
*/
382382
user(userId: string): Promise<User>;
383383

384+
/**
385+
* Get a user by name.
386+
*/
387+
userByName(name: string): Promise<User>;
388+
384389
/**
385390
* Create a new user.
386391
*/

0 commit comments

Comments
 (0)