|
1 |
| -import actionSchema from './schema/action'; |
2 |
| -import agentSchema from './schema/agent'; |
3 |
| -import assistantSchema from './schema/assistant'; |
4 |
| -import balanceSchema from './schema/balance'; |
5 |
| -import bannerSchema from './schema/banner'; |
6 |
| -import categoriesSchema from './schema/categories'; |
7 |
| -import conversationTagSchema from './schema/conversationTag'; |
8 |
| -import convoSchema from './schema/convo'; |
9 |
| -import fileSchema from './schema/file'; |
10 |
| -import keySchema from './schema/key'; |
11 |
| -import messageSchema from './schema/message'; |
12 |
| -import pluginAuthSchema from './schema/pluginAuth'; |
13 |
| -import presetSchema from './schema/preset'; |
14 |
| -import projectSchema from './schema/project'; |
15 |
| -import promptSchema from './schema/prompt'; |
16 |
| -import promptGroupSchema from './schema/promptGroup'; |
17 |
| -import roleSchema from './schema/role'; |
18 |
| -import sessionSchema from './schema/session'; |
19 |
| -import shareSchema from './schema/share'; |
20 |
| -import tokenSchema from './schema/token'; |
21 |
| -import toolCallSchema from './schema/toolCall'; |
22 |
| -import transactionSchema from './schema/transaction'; |
23 |
| -import userSchema from './schema/user'; |
24 |
| - |
25 |
| -export { |
26 |
| - actionSchema, |
27 |
| - agentSchema, |
28 |
| - assistantSchema, |
29 |
| - balanceSchema, |
30 |
| - bannerSchema, |
31 |
| - categoriesSchema, |
32 |
| - conversationTagSchema, |
33 |
| - convoSchema, |
34 |
| - fileSchema, |
35 |
| - keySchema, |
36 |
| - messageSchema, |
37 |
| - pluginAuthSchema, |
38 |
| - presetSchema, |
39 |
| - projectSchema, |
40 |
| - promptSchema, |
41 |
| - promptGroupSchema, |
42 |
| - roleSchema, |
43 |
| - sessionSchema, |
44 |
| - shareSchema, |
45 |
| - tokenSchema, |
46 |
| - toolCallSchema, |
47 |
| - transactionSchema, |
48 |
| - userSchema, |
49 |
| -}; |
| 1 | +export { default as actionSchema } from './schema/action'; |
| 2 | +export type { IAction } from './schema/action'; |
| 3 | + |
| 4 | +export { default as agentSchema } from './schema/agent'; |
| 5 | +export type { IAgent } from './schema/agent'; |
| 6 | + |
| 7 | +export { default as assistantSchema } from './schema/assistant'; |
| 8 | +export type { IAssistant } from './schema/assistant'; |
| 9 | + |
| 10 | +export { default as balanceSchema } from './schema/balance'; |
| 11 | +export type { IBalance } from './schema/balance'; |
| 12 | + |
| 13 | +export { default as bannerSchema } from './schema/banner'; |
| 14 | +export type { IBanner } from './schema/banner'; |
| 15 | + |
| 16 | +export { default as categoriesSchema } from './schema/categories'; |
| 17 | +export type { ICategory } from './schema/categories'; |
| 18 | + |
| 19 | +export { default as conversationTagSchema } from './schema/conversationTag'; |
| 20 | +export type { IConversationTag } from './schema/conversationTag'; |
| 21 | + |
| 22 | +export { default as convoSchema } from './schema/convo'; |
| 23 | +export type { IConversation } from './schema/convo'; |
| 24 | + |
| 25 | +export { default as fileSchema } from './schema/file'; |
| 26 | +export type { IMongoFile } from './schema/file'; |
| 27 | + |
| 28 | +export { default as keySchema } from './schema/key'; |
| 29 | +export type { IKey } from './schema/key'; |
| 30 | + |
| 31 | +export { default as messageSchema } from './schema/message'; |
| 32 | +export type { IMessage } from './schema/message'; |
| 33 | + |
| 34 | +export { default as pluginAuthSchema } from './schema/pluginAuth'; |
| 35 | +export type { IPluginAuth } from './schema/pluginAuth'; |
| 36 | + |
| 37 | +export { default as presetSchema } from './schema/preset'; |
| 38 | +export type { IPreset } from './schema/preset'; |
| 39 | + |
| 40 | +export { default as projectSchema } from './schema/project'; |
| 41 | +export type { IMongoProject } from './schema/project'; |
| 42 | + |
| 43 | +export { default as promptSchema } from './schema/prompt'; |
| 44 | +export type { IPrompt } from './schema/prompt'; |
| 45 | + |
| 46 | +export { default as promptGroupSchema } from './schema/promptGroup'; |
| 47 | +export type { IPromptGroup, IPromptGroupDocument } from './schema/promptGroup'; |
| 48 | + |
| 49 | +export { default as roleSchema } from './schema/role'; |
| 50 | +export type { IRole } from './schema/role'; |
| 51 | + |
| 52 | +export { default as sessionSchema } from './schema/session'; |
| 53 | +export type { ISession } from './schema/session'; |
| 54 | + |
| 55 | +export { default as shareSchema } from './schema/share'; |
| 56 | +export type { ISharedLink } from './schema/share'; |
| 57 | + |
| 58 | +export { default as tokenSchema } from './schema/token'; |
| 59 | +export type { IToken } from './schema/token'; |
| 60 | + |
| 61 | +export { default as toolCallSchema } from './schema/toolCall'; |
| 62 | +export type { IToolCallData } from './schema/toolCall'; |
| 63 | + |
| 64 | +export { default as transactionSchema } from './schema/transaction'; |
| 65 | +export type { ITransaction } from './schema/transaction'; |
| 66 | + |
| 67 | +export { default as userSchema } from './schema/user'; |
| 68 | +export type { IUser } from './schema/user'; |
0 commit comments