chore: remove unused types
This commit is contained in:
parent
9f0efa56ce
commit
b60978bab3
53
web/types/searchModelParam.hf.d.ts
vendored
53
web/types/searchModelParam.hf.d.ts
vendored
@ -1,53 +0,0 @@
|
|||||||
type Task =
|
|
||||||
| 'text-classification'
|
|
||||||
| 'token-classification'
|
|
||||||
| 'table-question-answering'
|
|
||||||
| 'question-answering'
|
|
||||||
| 'zero-shot-classification'
|
|
||||||
| 'translation'
|
|
||||||
| 'summarization'
|
|
||||||
| 'conversational'
|
|
||||||
| 'feature-extraction'
|
|
||||||
| 'text-generation'
|
|
||||||
| 'text2text-generation'
|
|
||||||
| 'fill-mask'
|
|
||||||
| 'sentence-similarity'
|
|
||||||
| 'text-to-speech'
|
|
||||||
| 'automatic-speech-recognition'
|
|
||||||
| 'audio-to-audio'
|
|
||||||
| 'audio-classification'
|
|
||||||
| 'voice-activity-detection'
|
|
||||||
| 'depth-estimation'
|
|
||||||
| 'image-classification'
|
|
||||||
| 'object-detection'
|
|
||||||
| 'image-segmentation'
|
|
||||||
| 'text-to-image'
|
|
||||||
| 'image-to-text'
|
|
||||||
| 'image-to-image'
|
|
||||||
| 'unconditional-image-generation'
|
|
||||||
| 'video-classification'
|
|
||||||
| 'reinforcement-learning'
|
|
||||||
| 'robotics'
|
|
||||||
| 'tabular-classification'
|
|
||||||
| 'tabular-regression'
|
|
||||||
| 'tabular-to-text'
|
|
||||||
| 'table-to-text'
|
|
||||||
| 'multiple-choice'
|
|
||||||
| 'text-retrieval'
|
|
||||||
| 'time-series-forecasting'
|
|
||||||
| 'visual-question-answering'
|
|
||||||
| 'document-question-answering'
|
|
||||||
| 'zero-shot-image-classification'
|
|
||||||
| 'graph-ml'
|
|
||||||
| 'other'
|
|
||||||
|
|
||||||
type SearchModelParamHf = {
|
|
||||||
search?: {
|
|
||||||
owner?: string
|
|
||||||
task?: Task
|
|
||||||
}
|
|
||||||
credentials?: {
|
|
||||||
accessToken: string
|
|
||||||
}
|
|
||||||
limit: number
|
|
||||||
}
|
|
||||||
11
web/types/users.d.ts
vendored
11
web/types/users.d.ts
vendored
@ -1,11 +0,0 @@
|
|||||||
export enum Role {
|
|
||||||
User = 'user',
|
|
||||||
Assistant = 'assistant',
|
|
||||||
}
|
|
||||||
|
|
||||||
type User = {
|
|
||||||
id: string
|
|
||||||
displayName: string
|
|
||||||
avatarUrl: string
|
|
||||||
email?: string
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user