@tailor-platform/function-types 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/tailor.d.ts +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @tailor-platform/function-types
|
|
2
2
|
|
|
3
|
+
## 0.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#131](https://github.com/tailor-platform/function/pull/131) [`cdac331`](https://github.com/tailor-platform/function/commit/cdac3319608f5b6b425545ceaae795088bfb7047) Thanks [@k1LoW](https://github.com/k1LoW)! - Make `password` optional in `CreateUserInput` and add `clearPassword` to `UpdateUserInput`
|
|
8
|
+
|
|
3
9
|
## 0.8.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
package/tailor.d.ts
CHANGED
|
@@ -333,8 +333,8 @@ declare namespace tailor.idp {
|
|
|
333
333
|
interface CreateUserInput {
|
|
334
334
|
/** The user's name (typically email) */
|
|
335
335
|
name: string;
|
|
336
|
-
/** The user's password */
|
|
337
|
-
password
|
|
336
|
+
/** The user's password. If omitted, the user is created without a password (cannot log in with any password). */
|
|
337
|
+
password?: string;
|
|
338
338
|
/** Whether the user is disabled */
|
|
339
339
|
disabled?: boolean;
|
|
340
340
|
}
|
|
@@ -347,8 +347,10 @@ declare namespace tailor.idp {
|
|
|
347
347
|
id: string;
|
|
348
348
|
/** New name for the user */
|
|
349
349
|
name?: string;
|
|
350
|
-
/** New password for the user */
|
|
350
|
+
/** New password for the user. Cannot be used with clearPassword. */
|
|
351
351
|
password?: string;
|
|
352
|
+
/** If true, remove the user's password. Cannot be used with password. */
|
|
353
|
+
clearPassword?: boolean;
|
|
352
354
|
/** New disabled status for the user */
|
|
353
355
|
disabled?: boolean;
|
|
354
356
|
}
|