mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-12 19:30:48 +08:00
完善拉取私有仓库
This commit is contained in:
@@ -51,6 +51,12 @@ export enum IntervalSchedule {
|
||||
'seconds' = '秒',
|
||||
}
|
||||
|
||||
export enum SubscriptionType {
|
||||
'private-repo' = '私有仓库',
|
||||
'public-repo' = '公开仓库',
|
||||
'file' = '单文件',
|
||||
}
|
||||
|
||||
const Subscription = ({ headerStyle, isPhone, socketMessage }: any) => {
|
||||
const columns: any = [
|
||||
{
|
||||
@@ -88,6 +94,16 @@ const Subscription = ({ headerStyle, isPhone, socketMessage }: any) => {
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '类型',
|
||||
dataIndex: 'type',
|
||||
key: 'type',
|
||||
width: 130,
|
||||
align: 'center' as const,
|
||||
render: (text: string, record: any) => {
|
||||
return (SubscriptionType as any)[record.type];
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '分支',
|
||||
dataIndex: 'branch',
|
||||
|
||||
Reference in New Issue
Block a user