We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b6753a commit a90eefbCopy full SHA for a90eefb
2 files changed
.changeset/add-idp-user-by-name.md
@@ -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
@@ -381,6 +381,11 @@ declare namespace tailor.idp {
381
*/
382
user(userId: string): Promise<User>;
383
384
+ /**
385
+ * Get a user by name.
386
+ */
387
+ userByName(name: string): Promise<User>;
388
389
/**
390
* Create a new user.
391
0 commit comments