2019-04-24 16:02:08 +02:00
|
|
|
// @flow
|
|
|
|
|
|
|
|
declare type UpdatePublishFormData = {
|
|
|
|
filePath?: string,
|
|
|
|
contentIsFree?: boolean,
|
2019-05-10 01:26:03 +02:00
|
|
|
fee?: {
|
2019-05-11 00:27:07 +02:00
|
|
|
amount: string,
|
2019-04-24 16:02:08 +02:00
|
|
|
currency: string,
|
|
|
|
},
|
|
|
|
title?: string,
|
|
|
|
thumbnail_url?: string,
|
|
|
|
uploadThumbnailStatus?: string,
|
|
|
|
thumbnailPath?: string,
|
|
|
|
description?: string,
|
|
|
|
language?: string,
|
|
|
|
channel?: string,
|
|
|
|
channelId?: string,
|
|
|
|
name?: string,
|
|
|
|
nameError?: string,
|
|
|
|
bid?: number,
|
|
|
|
bidError?: string,
|
|
|
|
otherLicenseDescription?: string,
|
|
|
|
licenseUrl?: string,
|
|
|
|
licenseType?: string,
|
|
|
|
uri?: string,
|
2019-05-10 01:26:03 +02:00
|
|
|
nsfw: boolean,
|
2020-10-01 09:52:52 +02:00
|
|
|
isMarkdownPost: boolean,
|
2019-04-24 16:02:08 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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?: {
|
2019-05-10 01:26:03 +02:00
|
|
|
amount: string,
|
2019-04-24 16:02:08 +02:00
|
|
|
currency: string,
|
|
|
|
},
|
2019-05-10 01:26:03 +02:00
|
|
|
claim: StreamClaim,
|
2019-04-24 16:02:08 +02:00
|
|
|
nsfw: boolean,
|
2019-06-28 09:27:55 +02:00
|
|
|
tags: Array<Tag>,
|
2019-04-24 16:02:08 +02:00
|
|
|
};
|