返回 AiToEarn
channel.constants.ts
根目录 / project / aitoearn-web / src / api / channels / channel.constants.ts
1 /**
2 * PublishContentMode 枚举。
3 */
4 export enum PublishContentMode {
5 Text = 'text', ImageText = 'image_text', Video = 'video',
6 }
7
8 /**
9 * PlatformStatus 枚举。
10 */
11 export enum PlatformStatus {
12 Available = 'available', Unavailable = 'unavailable', ComingSoon = 'coming_soon',
13 }
14
15 /**
16 * ChannelPublishStatus 枚举。
17 */
18 export enum ChannelPublishStatus {
19 Failed = -1,
20 WaitingForPublish = 0,
21 Published = 1,
22 Publishing = 2,
23 WaitingForUpdate = 3,
24 Updating = 4,
25 UpdatedFailed = 5,
26 Queued = 6,
27 PlatformScheduled = 7,
28 WaitingForUserAction = 8,
29 Canceled = 9,
30 }
31
31 lines TYPESCRIPT