mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-27 08:25:07 +00:00

Co-authored-by: Mufei <327958099@qq.com> Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
26 lines
551 B
TypeScript
26 lines
551 B
TypeScript
import { UsageSourceEnum } from './constants';
|
|
import { UsageListItemCountType, UsageListItemType } from './type';
|
|
|
|
export type CreateTrainingUsageProps = {
|
|
name: string;
|
|
datasetId: string;
|
|
};
|
|
|
|
export type ConcatUsageProps = UsageListItemCountType & {
|
|
teamId: string;
|
|
tmbId: string;
|
|
billId?: string;
|
|
totalPoints: number;
|
|
listIndex?: number;
|
|
};
|
|
|
|
export type CreateUsageProps = {
|
|
teamId: string;
|
|
tmbId: string;
|
|
appName: string;
|
|
appId?: string;
|
|
totalPoints: number;
|
|
source: `${UsageSourceEnum}`;
|
|
list: UsageListItemType[];
|
|
};
|