chore: api request
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
export const modelInstanceCols = [
|
||||
{
|
||||
title: 'Name',
|
||||
dataIndex: 'name',
|
||||
key: 'name'
|
||||
},
|
||||
{
|
||||
title: 'Create Time',
|
||||
dataIndex: 'createTime',
|
||||
key: 'createTime'
|
||||
},
|
||||
{
|
||||
title: 'Status',
|
||||
dataIndex: 'status',
|
||||
key: 'status'
|
||||
},
|
||||
{
|
||||
title: 'Utilization',
|
||||
dataIndex: 'utilization',
|
||||
key: 'utilization'
|
||||
},
|
||||
{
|
||||
title: 'Host Name',
|
||||
dataIndex: 'hostName',
|
||||
key: 'hostName'
|
||||
},
|
||||
{
|
||||
title: 'Operation',
|
||||
key: 'Operation'
|
||||
}
|
||||
];
|
||||
@@ -0,0 +1,20 @@
|
||||
export interface ListItem {
|
||||
source: string;
|
||||
huggingface_repo_id: string;
|
||||
huggingface_file_name: string;
|
||||
s3Address: string;
|
||||
name: string;
|
||||
description: string;
|
||||
id: number;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
}
|
||||
|
||||
export interface FormData {
|
||||
source: string;
|
||||
huggingface_repo_id: string;
|
||||
huggingface_filename: string;
|
||||
s3_address: string;
|
||||
name: string;
|
||||
description: string;
|
||||
}
|
||||
Reference in New Issue
Block a user