Changeset View
Changeset View
Standalone View
Standalone View
lib/types/user-types.js
Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Lines | |||||
export type PasswordUpdate = { | export type PasswordUpdate = { | ||||
+updatedFields: { | +updatedFields: { | ||||
+password?: ?string, | +password?: ?string, | ||||
}, | }, | ||||
+currentPassword: string, | +currentPassword: string, | ||||
}; | }; | ||||
export type UserListItem = { | export type UserListItem = { | ||||
+id: string, | ...AccountUserInfo, | ||||
+username: string, | |||||
+disabled?: boolean, | +disabled?: boolean, | ||||
+notice?: string, | +notice?: string, | ||||
+alertText?: string, | +alertText?: string, | ||||
+alertTitle?: string, | +alertTitle?: string, | ||||
+avatar?: ?ClientAvatar, | |||||
}; | }; |