mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 10:55:27 +00:00
feat(collection): implement saved search results as collections
This commit is contained in:
+14
-1
@@ -81,7 +81,8 @@ export const ModelName = {
|
||||
AgentSessionEntry: 'AgentSessionEntry',
|
||||
UserMetadata: 'UserMetadata',
|
||||
Model: 'Model',
|
||||
Provider: 'Provider'
|
||||
Provider: 'Provider',
|
||||
Collection: 'Collection'
|
||||
} as const
|
||||
|
||||
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
||||
@@ -539,6 +540,18 @@ export const ProviderScalarFieldEnum = {
|
||||
export type ProviderScalarFieldEnum = (typeof ProviderScalarFieldEnum)[keyof typeof ProviderScalarFieldEnum]
|
||||
|
||||
|
||||
export const CollectionScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
filter: 'filter',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt',
|
||||
projectId: 'projectId'
|
||||
} as const
|
||||
|
||||
export type CollectionScalarFieldEnum = (typeof CollectionScalarFieldEnum)[keyof typeof CollectionScalarFieldEnum]
|
||||
|
||||
|
||||
export const SortOrder = {
|
||||
asc: 'asc',
|
||||
desc: 'desc'
|
||||
|
||||
Reference in New Issue
Block a user