update user type

This commit is contained in:
Sean Yesmunt 2019-12-05 11:01:25 -05:00
parent 9ffb883cc1
commit 1e897d2c91
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,7 @@
// @flow // @flow
type DeviceType = 'mobile' | 'web' | 'desktop';
declare type User = { declare type User = {
created_at: string, created_at: string,
family_name: ?string, family_name: ?string,
@ -20,4 +22,5 @@ declare type User = {
reward_status_change_trigger: string, reward_status_change_trigger: string,
updated_at: string, updated_at: string,
youtube_channels: ?Array<string>, youtube_channels: ?Array<string>,
device_types: Array<DeviceType>,
}; };

3
flow-typed/User.js vendored
View file

@ -1,5 +1,7 @@
// @flow // @flow
type DeviceType = 'mobile' | 'web' | 'desktop';
declare type User = { declare type User = {
created_at: string, created_at: string,
family_name: ?string, family_name: ?string,
@ -20,4 +22,5 @@ declare type User = {
reward_status_change_trigger: string, reward_status_change_trigger: string,
updated_at: string, updated_at: string,
youtube_channels: ?Array<string>, youtube_channels: ?Array<string>,
device_types: Array<DeviceType>,
}; };