fix duplicate flow files for windows
This commit is contained in:
parent
19b24d3f58
commit
79dbcfdafa
5 changed files with 71 additions and 101 deletions
43
flow-typed/Notification.js
vendored
43
flow-typed/Notification.js
vendored
|
@ -91,3 +91,46 @@ declare type NotificationState = {
|
||||||
errors: Array<ErrorNotification>,
|
errors: Array<ErrorNotification>,
|
||||||
toasts: Array<Toast>,
|
toasts: Array<Toast>,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
declare type WebNotification = {
|
||||||
|
active_at: string,
|
||||||
|
created_at: string,
|
||||||
|
id: number,
|
||||||
|
is_app_readable: boolean,
|
||||||
|
is_device_notified: boolean,
|
||||||
|
is_emailed: boolean,
|
||||||
|
is_read: boolean,
|
||||||
|
is_seen: boolean,
|
||||||
|
notification_parameters: {
|
||||||
|
device: {
|
||||||
|
analytics_label: string,
|
||||||
|
image_url: string,
|
||||||
|
is_data_only: boolean,
|
||||||
|
name: string,
|
||||||
|
placeholders: ?string,
|
||||||
|
target: string,
|
||||||
|
text: string,
|
||||||
|
title: string,
|
||||||
|
type: string,
|
||||||
|
},
|
||||||
|
dynamic: {
|
||||||
|
comment_author: string,
|
||||||
|
reply_author: string,
|
||||||
|
hash: string,
|
||||||
|
claim_title: string,
|
||||||
|
comment?: string,
|
||||||
|
channel_url: string,
|
||||||
|
},
|
||||||
|
email: {},
|
||||||
|
},
|
||||||
|
notification_rule: string,
|
||||||
|
type: string,
|
||||||
|
updated_at: string,
|
||||||
|
user_id: number,
|
||||||
|
group_count?: number,
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type NotificationCategory = {
|
||||||
|
name: string,
|
||||||
|
types: ?Array<string>,
|
||||||
|
};
|
||||||
|
|
29
flow-typed/Publish.js
vendored
29
flow-typed/Publish.js
vendored
|
@ -11,17 +11,44 @@ declare type UpdatePublishFormData = {
|
||||||
thumbnail_url?: string,
|
thumbnail_url?: string,
|
||||||
uploadThumbnailStatus?: string,
|
uploadThumbnailStatus?: string,
|
||||||
thumbnailPath?: string,
|
thumbnailPath?: string,
|
||||||
|
thumbnailError?: boolean,
|
||||||
description?: string,
|
description?: string,
|
||||||
language?: string,
|
language?: string,
|
||||||
channel?: string,
|
channel?: string,
|
||||||
channelId?: string,
|
channelId?: string,
|
||||||
name?: string,
|
name?: string,
|
||||||
nameError?: string,
|
nameError?: string,
|
||||||
bid?: string,
|
bid?: number,
|
||||||
bidError?: string,
|
bidError?: string,
|
||||||
otherLicenseDescription?: string,
|
otherLicenseDescription?: string,
|
||||||
licenseUrl?: string,
|
licenseUrl?: string,
|
||||||
licenseType?: string,
|
licenseType?: string,
|
||||||
uri?: string,
|
uri?: string,
|
||||||
nsfw: boolean,
|
nsfw: boolean,
|
||||||
|
isMarkdownPost?: boolean,
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type PublishParams = {
|
||||||
|
name: ?string,
|
||||||
|
bid: ?number,
|
||||||
|
filePath?: string,
|
||||||
|
description: ?string,
|
||||||
|
language: string,
|
||||||
|
publishingLicense?: string,
|
||||||
|
publishingLicenseUrl?: string,
|
||||||
|
thumbnail: ?string,
|
||||||
|
channel: string,
|
||||||
|
channelId?: string,
|
||||||
|
title: string,
|
||||||
|
contentIsFree: boolean,
|
||||||
|
uri?: string,
|
||||||
|
license: ?string,
|
||||||
|
licenseUrl: ?string,
|
||||||
|
fee?: {
|
||||||
|
amount: string,
|
||||||
|
currency: string,
|
||||||
|
},
|
||||||
|
claim: StreamClaim,
|
||||||
|
nsfw: boolean,
|
||||||
|
tags: Array<Tag>,
|
||||||
};
|
};
|
||||||
|
|
43
flow-typed/notification.js
vendored
43
flow-typed/notification.js
vendored
|
@ -1,43 +0,0 @@
|
||||||
// @flow
|
|
||||||
declare type WebNotification = {
|
|
||||||
active_at: string,
|
|
||||||
created_at: string,
|
|
||||||
id: number,
|
|
||||||
is_app_readable: boolean,
|
|
||||||
is_device_notified: boolean,
|
|
||||||
is_emailed: boolean,
|
|
||||||
is_read: boolean,
|
|
||||||
is_seen: boolean,
|
|
||||||
notification_parameters: {
|
|
||||||
device: {
|
|
||||||
analytics_label: string,
|
|
||||||
image_url: string,
|
|
||||||
is_data_only: boolean,
|
|
||||||
name: string,
|
|
||||||
placeholders: ?string,
|
|
||||||
target: string,
|
|
||||||
text: string,
|
|
||||||
title: string,
|
|
||||||
type: string,
|
|
||||||
},
|
|
||||||
dynamic: {
|
|
||||||
comment_author: string,
|
|
||||||
reply_author: string,
|
|
||||||
hash: string,
|
|
||||||
claim_title: string,
|
|
||||||
comment?: string,
|
|
||||||
channel_url: string,
|
|
||||||
},
|
|
||||||
email: {},
|
|
||||||
},
|
|
||||||
notification_rule: string,
|
|
||||||
type: string,
|
|
||||||
updated_at: string,
|
|
||||||
user_id: number,
|
|
||||||
group_count?: number,
|
|
||||||
};
|
|
||||||
|
|
||||||
declare type NotificationCategory = {
|
|
||||||
name: string,
|
|
||||||
types: ?Array<string>,
|
|
||||||
};
|
|
54
flow-typed/publish.js
vendored
54
flow-typed/publish.js
vendored
|
@ -1,54 +0,0 @@
|
||||||
// @flow
|
|
||||||
|
|
||||||
declare type UpdatePublishFormData = {
|
|
||||||
filePath?: string,
|
|
||||||
contentIsFree?: boolean,
|
|
||||||
fee?: {
|
|
||||||
amount: string,
|
|
||||||
currency: string,
|
|
||||||
},
|
|
||||||
title?: string,
|
|
||||||
thumbnail_url?: string,
|
|
||||||
uploadThumbnailStatus?: string,
|
|
||||||
thumbnailPath?: string,
|
|
||||||
thumbnailError?: boolean,
|
|
||||||
description?: string,
|
|
||||||
language?: string,
|
|
||||||
channel?: string,
|
|
||||||
channelId?: string,
|
|
||||||
name?: string,
|
|
||||||
nameError?: string,
|
|
||||||
bid?: number,
|
|
||||||
bidError?: string,
|
|
||||||
otherLicenseDescription?: string,
|
|
||||||
licenseUrl?: string,
|
|
||||||
licenseType?: string,
|
|
||||||
uri?: string,
|
|
||||||
nsfw: boolean,
|
|
||||||
isMarkdownPost?: boolean,
|
|
||||||
};
|
|
||||||
|
|
||||||
declare type PublishParams = {
|
|
||||||
name: ?string,
|
|
||||||
bid: ?number,
|
|
||||||
filePath?: string,
|
|
||||||
description: ?string,
|
|
||||||
language: string,
|
|
||||||
publishingLicense?: string,
|
|
||||||
publishingLicenseUrl?: string,
|
|
||||||
thumbnail: ?string,
|
|
||||||
channel: string,
|
|
||||||
channelId?: string,
|
|
||||||
title: string,
|
|
||||||
contentIsFree: boolean,
|
|
||||||
uri?: string,
|
|
||||||
license: ?string,
|
|
||||||
licenseUrl: ?string,
|
|
||||||
fee?: {
|
|
||||||
amount: string,
|
|
||||||
currency: string,
|
|
||||||
},
|
|
||||||
claim: StreamClaim,
|
|
||||||
nsfw: boolean,
|
|
||||||
tags: Array<Tag>,
|
|
||||||
};
|
|
3
flow-typed/redux.js
vendored
3
flow-typed/redux.js
vendored
|
@ -1,3 +0,0 @@
|
||||||
// @flow
|
|
||||||
|
|
||||||
declare type Dispatch = any;
|
|
Loading…
Reference in a new issue