Feat: Support re-segmentation (#114)

Co-authored-by: John Wang <takatost@gmail.com>
Co-authored-by: Jyong <718720800@qq.com>
Co-authored-by: 金伟强 <iamjoel007@gmail.com>
This commit is contained in:
KVOJJJin
2023-06-01 23:19:36 +08:00
committed by GitHub
parent f65a3ad1cc
commit c67f626b66
61 changed files with 1166 additions and 759 deletions

View File

@@ -56,7 +56,7 @@ export type Member = Pick<UserProfileResponse, 'id' | 'name' | 'email' | 'last_l
export enum ProviderName {
OPENAI = 'openai',
AZURE_OPENAI = 'azure_openai'
AZURE_OPENAI = 'azure_openai',
}
export type ProviderAzureToken = {
openai_api_base?: string
@@ -91,7 +91,7 @@ export type AccountIntegrate = {
link: string
}
export interface IWorkspace {
export type IWorkspace = {
id: string
name: string
plan: string

View File

@@ -1,30 +1,30 @@
import { AppMode } from "./app";
import type { AppMode } from './app'
export type AppBasicInfo = {
id: string;
name: string;
mode: AppMode;
icon: string;
icon_background: string;
id: string
name: string
mode: AppMode
icon: string
icon_background: string
}
export type App = {
app: AppBasicInfo;
app_id: string;
description: string;
copyright: string;
privacy_policy: string;
category: string;
position: number;
is_listed: boolean;
install_count: number;
installed: boolean;
editable: boolean;
app: AppBasicInfo
app_id: string
description: string
copyright: string
privacy_policy: string
category: string
position: number
is_listed: boolean
install_count: number
installed: boolean
editable: boolean
}
export type InstalledApp = {
app: AppBasicInfo;
id: string;
app: AppBasicInfo
id: string
uninstallable: boolean
is_pinned: boolean
}
}