update user type
This commit is contained in:
parent
9ffb883cc1
commit
1e897d2c91
2 changed files with 6 additions and 0 deletions
3
dist/flow-typed/User.js
vendored
3
dist/flow-typed/User.js
vendored
|
@ -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
3
flow-typed/User.js
vendored
|
@ -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>,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue