mtmsdk 0.0.46 → 0.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +45 -45
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.js +69 -69
- package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi/index.d.ts +2 -2
- package/dist/gomtmapi/index.d.ts.map +1 -1
- package/dist/gomtmapi/index.js +1 -1
- package/dist/gomtmapi/index.js.map +1 -1
- package/dist/gomtmapi/schemas.gen.d.ts +91 -52
- package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi/schemas.gen.js +91 -56
- package/dist/gomtmapi/schemas.gen.js.map +1 -1
- package/dist/gomtmapi/sdk.gen.d.ts +41 -41
- package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi/sdk.gen.js +55 -55
- package/dist/gomtmapi/sdk.gen.js.map +1 -1
- package/dist/gomtmapi/types.gen.d.ts +120 -131
- package/dist/gomtmapi/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.d.ts +96 -74
- package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.js +67 -58
- package/dist/gomtmapi/zod.gen.js.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +4 -101
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +1 -14
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtgate_api/index.d.ts +2 -2
- package/dist/mtgate_api/index.d.ts.map +1 -1
- package/dist/mtgate_api/index.js +1 -1
- package/dist/mtgate_api/index.js.map +1 -1
- package/dist/mtgate_api/schemas.gen.d.ts +0 -31
- package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtgate_api/schemas.gen.js +0 -46
- package/dist/mtgate_api/schemas.gen.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +1 -2
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +0 -1
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +1 -73
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +0 -77
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +0 -47
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/openclaw/gateway.d.ts.map +1 -1
- package/dist/openclaw/gateway.js +1 -5
- package/dist/openclaw/gateway.js.map +1 -1
- package/dist/sbmng/schemas.gen.d.ts +15 -2
- package/dist/sbmng/schemas.gen.d.ts.map +1 -1
- package/dist/sbmng/schemas.gen.js +55 -2
- package/dist/sbmng/schemas.gen.js.map +1 -1
- package/dist/sbmng/types.gen.d.ts +5 -2
- package/dist/sbmng/types.gen.d.ts.map +1 -1
- package/dist/supabase/schema/index.d.ts +0 -9
- package/dist/supabase/schema/index.d.ts.map +1 -1
- package/dist/supabase/schema/index.js +0 -13
- package/dist/supabase/schema/index.js.map +1 -1
- package/dist/supabase/supabase-client.d.ts +985 -739
- package/dist/supabase/supabase-client.d.ts.map +1 -1
- package/dist/supabase/supabase.d.ts +2182 -1689
- package/dist/supabase/supabase.d.ts.map +1 -1
- package/dist/supabase/supabase.js.map +1 -1
- package/dist/types/database.schemas.d.ts +1322 -743
- package/dist/types/database.schemas.d.ts.map +1 -1
- package/dist/types/database.schemas.js +822 -610
- package/dist/types/database.schemas.js.map +1 -1
- package/dist/types/database.types.d.ts +1004 -734
- package/dist/types/database.types.d.ts.map +1 -1
- package/dist/types/database.types.js +16 -1
- package/dist/types/database.types.js.map +1 -1
- package/dist/types/index.d.ts +32 -48
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +0 -25
- package/dist/types/index.js.map +1 -1
- package/dist/types/rpc.schemas.d.ts +1 -13
- package/dist/types/rpc.schemas.d.ts.map +1 -1
- package/dist/types/rpc.schemas.js +7 -21
- package/dist/types/rpc.schemas.js.map +1 -1
- package/package.json +3 -4
- package/src/gomtmapi/@tanstack/react-query.gen.ts +73 -73
- package/src/gomtmapi/index.ts +2 -2
- package/src/gomtmapi/schemas.gen.ts +92 -58
- package/src/gomtmapi/sdk.gen.ts +58 -58
- package/src/gomtmapi/types.gen.ts +131 -143
- package/src/gomtmapi/zod.gen.ts +72 -64
- package/src/mtgate_api/@tanstack/react-query.gen.ts +3 -18
- package/src/mtgate_api/index.ts +2 -2
- package/src/mtgate_api/schemas.gen.ts +0 -47
- package/src/mtgate_api/sdk.gen.ts +1 -3
- package/src/mtgate_api/types.gen.ts +1 -79
- package/src/mtgate_api/zod.gen.ts +0 -52
- package/src/openclaw/gateway.ts +5 -10
- package/src/sbmng/schemas.gen.ts +55 -2
- package/src/sbmng/types.gen.ts +5 -2
- package/src/supabase/schema/index.ts +0 -20
- package/src/supabase/supabase.ts +4 -2
- package/src/types/database.schemas.ts +956 -732
- package/src/types/database.types.ts +977 -707
- package/src/types/index.ts +33 -66
- package/src/types/rpc.schemas.ts +8 -23
- package/dist/sbapi/@tanstack/react-query.gen.d.ts +0 -3280
- package/dist/sbapi/@tanstack/react-query.gen.d.ts.map +0 -1
- package/dist/sbapi/@tanstack/react-query.gen.js +0 -6084
- package/dist/sbapi/@tanstack/react-query.gen.js.map +0 -1
- package/dist/sbapi/client/client.gen.d.ts +0 -3
- package/dist/sbapi/client/client.gen.d.ts.map +0 -1
- package/dist/sbapi/client/client.gen.js +0 -236
- package/dist/sbapi/client/client.gen.js.map +0 -1
- package/dist/sbapi/client/index.d.ts +0 -9
- package/dist/sbapi/client/index.d.ts.map +0 -1
- package/dist/sbapi/client/index.js +0 -7
- package/dist/sbapi/client/index.js.map +0 -1
- package/dist/sbapi/client/types.gen.d.ts +0 -118
- package/dist/sbapi/client/types.gen.d.ts.map +0 -1
- package/dist/sbapi/client/types.gen.js +0 -3
- package/dist/sbapi/client/types.gen.js.map +0 -1
- package/dist/sbapi/client/utils.gen.d.ts +0 -34
- package/dist/sbapi/client/utils.gen.d.ts.map +0 -1
- package/dist/sbapi/client/utils.gen.js +0 -232
- package/dist/sbapi/client/utils.gen.js.map +0 -1
- package/dist/sbapi/client.gen.d.ts +0 -13
- package/dist/sbapi/client.gen.d.ts.map +0 -1
- package/dist/sbapi/client.gen.js +0 -4
- package/dist/sbapi/client.gen.js.map +0 -1
- package/dist/sbapi/core/auth.gen.d.ts +0 -19
- package/dist/sbapi/core/auth.gen.d.ts.map +0 -1
- package/dist/sbapi/core/auth.gen.js +0 -15
- package/dist/sbapi/core/auth.gen.js.map +0 -1
- package/dist/sbapi/core/bodySerializer.gen.d.ts +0 -26
- package/dist/sbapi/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/sbapi/core/bodySerializer.gen.js +0 -58
- package/dist/sbapi/core/bodySerializer.gen.js.map +0 -1
- package/dist/sbapi/core/params.gen.d.ts +0 -44
- package/dist/sbapi/core/params.gen.d.ts.map +0 -1
- package/dist/sbapi/core/params.gen.js +0 -101
- package/dist/sbapi/core/params.gen.js.map +0 -1
- package/dist/sbapi/core/pathSerializer.gen.d.ts +0 -34
- package/dist/sbapi/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/sbapi/core/pathSerializer.gen.js +0 -115
- package/dist/sbapi/core/pathSerializer.gen.js.map +0 -1
- package/dist/sbapi/core/queryKeySerializer.gen.d.ts +0 -19
- package/dist/sbapi/core/queryKeySerializer.gen.d.ts.map +0 -1
- package/dist/sbapi/core/queryKeySerializer.gen.js +0 -100
- package/dist/sbapi/core/queryKeySerializer.gen.js.map +0 -1
- package/dist/sbapi/core/serverSentEvents.gen.d.ts +0 -72
- package/dist/sbapi/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/sbapi/core/serverSentEvents.gen.js +0 -138
- package/dist/sbapi/core/serverSentEvents.gen.js.map +0 -1
- package/dist/sbapi/core/types.gen.d.ts +0 -79
- package/dist/sbapi/core/types.gen.d.ts.map +0 -1
- package/dist/sbapi/core/types.gen.js +0 -3
- package/dist/sbapi/core/types.gen.js.map +0 -1
- package/dist/sbapi/core/utils.gen.d.ts +0 -20
- package/dist/sbapi/core/utils.gen.d.ts.map +0 -1
- package/dist/sbapi/core/utils.gen.js +0 -88
- package/dist/sbapi/core/utils.gen.js.map +0 -1
- package/dist/sbapi/index.d.ts +0 -3
- package/dist/sbapi/index.d.ts.map +0 -1
- package/dist/sbapi/index.js +0 -3
- package/dist/sbapi/index.js.map +0 -1
- package/dist/sbapi/schemas.gen.d.ts +0 -2322
- package/dist/sbapi/schemas.gen.d.ts.map +0 -1
- package/dist/sbapi/schemas.gen.js +0 -2596
- package/dist/sbapi/schemas.gen.js.map +0 -1
- package/dist/sbapi/sdk.gen.d.ts +0 -834
- package/dist/sbapi/sdk.gen.d.ts.map +0 -1
- package/dist/sbapi/sdk.gen.js +0 -2466
- package/dist/sbapi/sdk.gen.js.map +0 -1
- package/dist/sbapi/types.gen.d.ts +0 -11726
- package/dist/sbapi/types.gen.d.ts.map +0 -1
- package/dist/sbapi/types.gen.js +0 -3
- package/dist/sbapi/types.gen.js.map +0 -1
- package/dist/sbapi/zod.gen.d.ts +0 -8147
- package/dist/sbapi/zod.gen.d.ts.map +0 -1
- package/dist/sbapi/zod.gen.js +0 -6585
- package/dist/sbapi/zod.gen.js.map +0 -1
- package/src/sbapi/@tanstack/react-query.gen.ts +0 -6591
- package/src/sbapi/client/client.gen.ts +0 -311
- package/src/sbapi/client/index.ts +0 -25
- package/src/sbapi/client/types.gen.ts +0 -241
- package/src/sbapi/client/utils.gen.ts +0 -332
- package/src/sbapi/client.gen.ts +0 -16
- package/src/sbapi/core/auth.gen.ts +0 -42
- package/src/sbapi/core/bodySerializer.gen.ts +0 -100
- package/src/sbapi/core/params.gen.ts +0 -176
- package/src/sbapi/core/pathSerializer.gen.ts +0 -181
- package/src/sbapi/core/queryKeySerializer.gen.ts +0 -136
- package/src/sbapi/core/serverSentEvents.gen.ts +0 -266
- package/src/sbapi/core/types.gen.ts +0 -118
- package/src/sbapi/core/utils.gen.ts +0 -143
- package/src/sbapi/index.ts +0 -4
- package/src/sbapi/schemas.gen.ts +0 -2643
- package/src/sbapi/sdk.gen.ts +0 -2822
- package/src/sbapi/types.gen.ts +0 -12503
- package/src/sbapi/zod.gen.ts +0 -7021
|
@@ -1,2322 +0,0 @@
|
|
|
1
|
-
export declare const worker_tasksSchema: {
|
|
2
|
-
readonly required: readonly ["id", "created_at", "updated_at", "type", "payload"];
|
|
3
|
-
readonly properties: {
|
|
4
|
-
readonly id: {
|
|
5
|
-
readonly default: "gen_random_uuid()";
|
|
6
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
7
|
-
readonly format: "uuid";
|
|
8
|
-
readonly type: "string";
|
|
9
|
-
};
|
|
10
|
-
readonly created_at: {
|
|
11
|
-
readonly default: "now()";
|
|
12
|
-
readonly format: "timestamp with time zone";
|
|
13
|
-
readonly type: "string";
|
|
14
|
-
};
|
|
15
|
-
readonly updated_at: {
|
|
16
|
-
readonly default: "now()";
|
|
17
|
-
readonly format: "timestamp with time zone";
|
|
18
|
-
readonly type: "string";
|
|
19
|
-
};
|
|
20
|
-
readonly worker_id: {
|
|
21
|
-
readonly description: "定点投递:指定执行该任务的 Worker ID";
|
|
22
|
-
readonly format: "text";
|
|
23
|
-
readonly type: "string";
|
|
24
|
-
};
|
|
25
|
-
readonly type: {
|
|
26
|
-
readonly format: "text";
|
|
27
|
-
readonly type: "string";
|
|
28
|
-
};
|
|
29
|
-
readonly status: {
|
|
30
|
-
readonly default: "pending";
|
|
31
|
-
readonly format: "text";
|
|
32
|
-
readonly type: "string";
|
|
33
|
-
};
|
|
34
|
-
readonly payload: {
|
|
35
|
-
readonly format: "jsonb";
|
|
36
|
-
};
|
|
37
|
-
readonly result: {
|
|
38
|
-
readonly format: "jsonb";
|
|
39
|
-
};
|
|
40
|
-
readonly error: {
|
|
41
|
-
readonly format: "text";
|
|
42
|
-
readonly type: "string";
|
|
43
|
-
};
|
|
44
|
-
readonly session_id: {
|
|
45
|
-
readonly description: "关联的会话ID,用于任务完成后的回调通知";
|
|
46
|
-
readonly format: "text";
|
|
47
|
-
readonly type: "string";
|
|
48
|
-
};
|
|
49
|
-
readonly user_id: {
|
|
50
|
-
readonly format: "uuid";
|
|
51
|
-
readonly type: "string";
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
readonly type: "object";
|
|
55
|
-
};
|
|
56
|
-
export declare const linked_accountsSchema: {
|
|
57
|
-
readonly required: readonly ["id", "created_at", "user_id"];
|
|
58
|
-
readonly properties: {
|
|
59
|
-
readonly id: {
|
|
60
|
-
readonly default: "gen_random_uuid()";
|
|
61
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
62
|
-
readonly format: "uuid";
|
|
63
|
-
readonly type: "string";
|
|
64
|
-
};
|
|
65
|
-
readonly created_at: {
|
|
66
|
-
readonly default: "now()";
|
|
67
|
-
readonly format: "timestamp with time zone";
|
|
68
|
-
readonly type: "string";
|
|
69
|
-
};
|
|
70
|
-
readonly updated_at: {
|
|
71
|
-
readonly default: "now()";
|
|
72
|
-
readonly format: "timestamp with time zone";
|
|
73
|
-
readonly type: "string";
|
|
74
|
-
};
|
|
75
|
-
readonly user_id: {
|
|
76
|
-
readonly format: "uuid";
|
|
77
|
-
readonly type: "string";
|
|
78
|
-
};
|
|
79
|
-
readonly platform_id: {
|
|
80
|
-
readonly description: "Note:\nThis is a Foreign Key to `platforms.id`.<fk table='platforms' column='id'/>";
|
|
81
|
-
readonly format: "uuid";
|
|
82
|
-
readonly type: "string";
|
|
83
|
-
};
|
|
84
|
-
readonly name: {
|
|
85
|
-
readonly format: "text";
|
|
86
|
-
readonly type: "string";
|
|
87
|
-
};
|
|
88
|
-
readonly credentials: {
|
|
89
|
-
readonly format: "jsonb";
|
|
90
|
-
};
|
|
91
|
-
readonly session_data: {
|
|
92
|
-
readonly format: "jsonb";
|
|
93
|
-
};
|
|
94
|
-
readonly status: {
|
|
95
|
-
readonly default: "active";
|
|
96
|
-
readonly format: "text";
|
|
97
|
-
readonly type: "string";
|
|
98
|
-
};
|
|
99
|
-
readonly last_used_at: {
|
|
100
|
-
readonly format: "timestamp with time zone";
|
|
101
|
-
readonly type: "string";
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
readonly type: "object";
|
|
105
|
-
};
|
|
106
|
-
export declare const audit_assetsSchema: {
|
|
107
|
-
readonly required: readonly ["id", "created_at", "updated_at", "project_id", "type", "content"];
|
|
108
|
-
readonly properties: {
|
|
109
|
-
readonly id: {
|
|
110
|
-
readonly default: "extensions.uuid_generate_v4()";
|
|
111
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
112
|
-
readonly format: "uuid";
|
|
113
|
-
readonly type: "string";
|
|
114
|
-
};
|
|
115
|
-
readonly created_at: {
|
|
116
|
-
readonly default: "now()";
|
|
117
|
-
readonly format: "timestamp with time zone";
|
|
118
|
-
readonly type: "string";
|
|
119
|
-
};
|
|
120
|
-
readonly updated_at: {
|
|
121
|
-
readonly default: "now()";
|
|
122
|
-
readonly format: "timestamp with time zone";
|
|
123
|
-
readonly type: "string";
|
|
124
|
-
};
|
|
125
|
-
readonly project_id: {
|
|
126
|
-
readonly description: "Note:\nThis is a Foreign Key to `audit_projects.id`.<fk table='audit_projects' column='id'/>";
|
|
127
|
-
readonly format: "uuid";
|
|
128
|
-
readonly type: "string";
|
|
129
|
-
};
|
|
130
|
-
readonly type: {
|
|
131
|
-
readonly format: "text";
|
|
132
|
-
readonly type: "string";
|
|
133
|
-
};
|
|
134
|
-
readonly content: {
|
|
135
|
-
readonly format: "text";
|
|
136
|
-
readonly type: "string";
|
|
137
|
-
};
|
|
138
|
-
readonly metadata: {
|
|
139
|
-
readonly format: "jsonb";
|
|
140
|
-
};
|
|
141
|
-
readonly status: {
|
|
142
|
-
readonly default: "discovered";
|
|
143
|
-
readonly format: "text";
|
|
144
|
-
readonly type: "string";
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
readonly type: "object";
|
|
148
|
-
};
|
|
149
|
-
export declare const gomtm_modelsSchema: {
|
|
150
|
-
readonly description: "AI 模型配置表,支持直接 API Key 配置或通过 linked_accounts 关联 OAuth 凭据";
|
|
151
|
-
readonly required: readonly ["id", "created_at", "updated_at", "user_id", "name", "provider", "model", "is_active"];
|
|
152
|
-
readonly properties: {
|
|
153
|
-
readonly id: {
|
|
154
|
-
readonly default: "gen_random_uuid()";
|
|
155
|
-
readonly description: "主键ID\n\nNote:\nThis is a Primary Key.<pk/>";
|
|
156
|
-
readonly format: "uuid";
|
|
157
|
-
readonly type: "string";
|
|
158
|
-
};
|
|
159
|
-
readonly created_at: {
|
|
160
|
-
readonly default: "now()";
|
|
161
|
-
readonly description: "创建时间";
|
|
162
|
-
readonly format: "timestamp with time zone";
|
|
163
|
-
readonly type: "string";
|
|
164
|
-
};
|
|
165
|
-
readonly updated_at: {
|
|
166
|
-
readonly default: "now()";
|
|
167
|
-
readonly description: "更新时间";
|
|
168
|
-
readonly format: "timestamp with time zone";
|
|
169
|
-
readonly type: "string";
|
|
170
|
-
};
|
|
171
|
-
readonly user_id: {
|
|
172
|
-
readonly description: "用户ID";
|
|
173
|
-
readonly format: "uuid";
|
|
174
|
-
readonly type: "string";
|
|
175
|
-
};
|
|
176
|
-
readonly name: {
|
|
177
|
-
readonly description: "模型显示名称";
|
|
178
|
-
readonly format: "character varying";
|
|
179
|
-
readonly maxLength: 100;
|
|
180
|
-
readonly type: "string";
|
|
181
|
-
};
|
|
182
|
-
readonly provider: {
|
|
183
|
-
readonly description: "提供商(如 openai, qwen, anthropic)";
|
|
184
|
-
readonly format: "character varying";
|
|
185
|
-
readonly maxLength: 50;
|
|
186
|
-
readonly type: "string";
|
|
187
|
-
};
|
|
188
|
-
readonly model: {
|
|
189
|
-
readonly description: "模型名称(如 gpt-4o, qwen-plus)";
|
|
190
|
-
readonly format: "character varying";
|
|
191
|
-
readonly maxLength: 100;
|
|
192
|
-
readonly type: "string";
|
|
193
|
-
};
|
|
194
|
-
readonly api_base: {
|
|
195
|
-
readonly description: "API 基础 URL";
|
|
196
|
-
readonly format: "character varying";
|
|
197
|
-
readonly maxLength: 500;
|
|
198
|
-
readonly type: "string";
|
|
199
|
-
};
|
|
200
|
-
readonly api_key: {
|
|
201
|
-
readonly description: "API 密钥(直接认证时使用)";
|
|
202
|
-
readonly format: "character varying";
|
|
203
|
-
readonly maxLength: 500;
|
|
204
|
-
readonly type: "string";
|
|
205
|
-
};
|
|
206
|
-
readonly linked_account_id: {
|
|
207
|
-
readonly description: "关联的 OAuth 账号 ID(OAuth 认证时使用)\n\nNote:\nThis is a Foreign Key to `linked_accounts.id`.<fk table='linked_accounts' column='id'/>";
|
|
208
|
-
readonly format: "uuid";
|
|
209
|
-
readonly type: "string";
|
|
210
|
-
};
|
|
211
|
-
readonly is_active: {
|
|
212
|
-
readonly default: true;
|
|
213
|
-
readonly description: "是否启用";
|
|
214
|
-
readonly format: "boolean";
|
|
215
|
-
readonly type: "boolean";
|
|
216
|
-
};
|
|
217
|
-
readonly config: {
|
|
218
|
-
readonly description: "其他配置信息(JSON 格式)";
|
|
219
|
-
readonly format: "jsonb";
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
readonly type: "object";
|
|
223
|
-
};
|
|
224
|
-
export declare const workflow_instancesSchema: {
|
|
225
|
-
readonly required: readonly ["id", "user_id"];
|
|
226
|
-
readonly properties: {
|
|
227
|
-
readonly id: {
|
|
228
|
-
readonly default: "gen_random_uuid()";
|
|
229
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
230
|
-
readonly format: "uuid";
|
|
231
|
-
readonly type: "string";
|
|
232
|
-
};
|
|
233
|
-
readonly user_id: {
|
|
234
|
-
readonly format: "uuid";
|
|
235
|
-
readonly type: "string";
|
|
236
|
-
};
|
|
237
|
-
readonly title: {
|
|
238
|
-
readonly format: "text";
|
|
239
|
-
readonly type: "string";
|
|
240
|
-
};
|
|
241
|
-
readonly description: {
|
|
242
|
-
readonly format: "text";
|
|
243
|
-
readonly type: "string";
|
|
244
|
-
};
|
|
245
|
-
readonly code_content: {
|
|
246
|
-
readonly format: "text";
|
|
247
|
-
readonly type: "string";
|
|
248
|
-
};
|
|
249
|
-
readonly status: {
|
|
250
|
-
readonly default: "pending";
|
|
251
|
-
readonly format: "text";
|
|
252
|
-
readonly type: "string";
|
|
253
|
-
};
|
|
254
|
-
readonly result: {
|
|
255
|
-
readonly format: "jsonb";
|
|
256
|
-
};
|
|
257
|
-
readonly error_message: {
|
|
258
|
-
readonly format: "text";
|
|
259
|
-
readonly type: "string";
|
|
260
|
-
};
|
|
261
|
-
readonly created_at: {
|
|
262
|
-
readonly default: "now()";
|
|
263
|
-
readonly format: "timestamp with time zone";
|
|
264
|
-
readonly type: "string";
|
|
265
|
-
};
|
|
266
|
-
readonly updated_at: {
|
|
267
|
-
readonly default: "now()";
|
|
268
|
-
readonly format: "timestamp with time zone";
|
|
269
|
-
readonly type: "string";
|
|
270
|
-
};
|
|
271
|
-
readonly notebook_json: {
|
|
272
|
-
readonly format: "jsonb";
|
|
273
|
-
};
|
|
274
|
-
};
|
|
275
|
-
readonly type: "object";
|
|
276
|
-
};
|
|
277
|
-
export declare const serversSchema: {
|
|
278
|
-
readonly description: "以http api提供的服务";
|
|
279
|
-
readonly required: readonly ["id", "created_at", "updated_at", "service_type", "is_health"];
|
|
280
|
-
readonly properties: {
|
|
281
|
-
readonly id: {
|
|
282
|
-
readonly default: "gen_random_uuid()";
|
|
283
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
284
|
-
readonly format: "uuid";
|
|
285
|
-
readonly type: "string";
|
|
286
|
-
};
|
|
287
|
-
readonly created_at: {
|
|
288
|
-
readonly default: "now()";
|
|
289
|
-
readonly format: "timestamp with time zone";
|
|
290
|
-
readonly type: "string";
|
|
291
|
-
};
|
|
292
|
-
readonly updated_at: {
|
|
293
|
-
readonly default: "now()";
|
|
294
|
-
readonly format: "timestamp with time zone";
|
|
295
|
-
readonly type: "string";
|
|
296
|
-
};
|
|
297
|
-
readonly service_type: {
|
|
298
|
-
readonly format: "text";
|
|
299
|
-
readonly type: "string";
|
|
300
|
-
};
|
|
301
|
-
readonly local_url: {
|
|
302
|
-
readonly format: "text";
|
|
303
|
-
readonly type: "string";
|
|
304
|
-
};
|
|
305
|
-
readonly public_url: {
|
|
306
|
-
readonly format: "text";
|
|
307
|
-
readonly type: "string";
|
|
308
|
-
};
|
|
309
|
-
readonly worker_id: {
|
|
310
|
-
readonly format: "uuid";
|
|
311
|
-
readonly type: "string";
|
|
312
|
-
};
|
|
313
|
-
readonly user_id: {
|
|
314
|
-
readonly format: "uuid";
|
|
315
|
-
readonly type: "string";
|
|
316
|
-
};
|
|
317
|
-
readonly is_health: {
|
|
318
|
-
readonly default: false;
|
|
319
|
-
readonly format: "boolean";
|
|
320
|
-
readonly type: "boolean";
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
readonly type: "object";
|
|
324
|
-
};
|
|
325
|
-
export declare const proxiesSchema: {
|
|
326
|
-
readonly description: "网络代理配置";
|
|
327
|
-
readonly required: readonly ["id", "created_at", "url", "enabled"];
|
|
328
|
-
readonly properties: {
|
|
329
|
-
readonly id: {
|
|
330
|
-
readonly default: "gen_random_uuid()";
|
|
331
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
332
|
-
readonly format: "uuid";
|
|
333
|
-
readonly type: "string";
|
|
334
|
-
};
|
|
335
|
-
readonly created_at: {
|
|
336
|
-
readonly default: "now()";
|
|
337
|
-
readonly format: "timestamp with time zone";
|
|
338
|
-
readonly type: "string";
|
|
339
|
-
};
|
|
340
|
-
readonly updated_at: {
|
|
341
|
-
readonly default: "now()";
|
|
342
|
-
readonly format: "timestamp with time zone";
|
|
343
|
-
readonly type: "string";
|
|
344
|
-
};
|
|
345
|
-
readonly name: {
|
|
346
|
-
readonly description: "显示名称";
|
|
347
|
-
readonly format: "text";
|
|
348
|
-
readonly type: "string";
|
|
349
|
-
};
|
|
350
|
-
readonly description: {
|
|
351
|
-
readonly description: "描述";
|
|
352
|
-
readonly format: "text";
|
|
353
|
-
readonly type: "string";
|
|
354
|
-
};
|
|
355
|
-
readonly url: {
|
|
356
|
-
readonly description: "完整代理URL";
|
|
357
|
-
readonly format: "text";
|
|
358
|
-
readonly type: "string";
|
|
359
|
-
};
|
|
360
|
-
readonly type: {
|
|
361
|
-
readonly description: "代理协议(类型)";
|
|
362
|
-
readonly format: "text";
|
|
363
|
-
readonly type: "string";
|
|
364
|
-
};
|
|
365
|
-
readonly enabled: {
|
|
366
|
-
readonly default: true;
|
|
367
|
-
readonly description: "是否启用";
|
|
368
|
-
readonly format: "boolean";
|
|
369
|
-
readonly type: "boolean";
|
|
370
|
-
};
|
|
371
|
-
readonly user_id: {
|
|
372
|
-
readonly format: "uuid";
|
|
373
|
-
readonly type: "string";
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
|
-
readonly type: "object";
|
|
377
|
-
};
|
|
378
|
-
export declare const dash_navitemsSchema: {
|
|
379
|
-
readonly description: "用户后台侧边栏导航菜单";
|
|
380
|
-
readonly required: readonly ["id", "created_at", "label"];
|
|
381
|
-
readonly properties: {
|
|
382
|
-
readonly id: {
|
|
383
|
-
readonly default: "gen_random_uuid()";
|
|
384
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
385
|
-
readonly format: "uuid";
|
|
386
|
-
readonly type: "string";
|
|
387
|
-
};
|
|
388
|
-
readonly created_at: {
|
|
389
|
-
readonly default: "now()";
|
|
390
|
-
readonly format: "timestamp with time zone";
|
|
391
|
-
readonly type: "string";
|
|
392
|
-
};
|
|
393
|
-
readonly label: {
|
|
394
|
-
readonly format: "text";
|
|
395
|
-
readonly type: "string";
|
|
396
|
-
};
|
|
397
|
-
readonly icon: {
|
|
398
|
-
readonly format: "text";
|
|
399
|
-
readonly type: "string";
|
|
400
|
-
};
|
|
401
|
-
readonly url: {
|
|
402
|
-
readonly format: "text";
|
|
403
|
-
readonly type: "string";
|
|
404
|
-
};
|
|
405
|
-
readonly ord: {
|
|
406
|
-
readonly default: 100;
|
|
407
|
-
readonly format: "integer";
|
|
408
|
-
readonly type: "integer";
|
|
409
|
-
};
|
|
410
|
-
readonly tooltip: {
|
|
411
|
-
readonly format: "text";
|
|
412
|
-
readonly type: "string";
|
|
413
|
-
};
|
|
414
|
-
readonly badge: {
|
|
415
|
-
readonly format: "text";
|
|
416
|
-
readonly type: "string";
|
|
417
|
-
};
|
|
418
|
-
readonly enabled: {
|
|
419
|
-
readonly default: true;
|
|
420
|
-
readonly format: "boolean";
|
|
421
|
-
readonly type: "boolean";
|
|
422
|
-
};
|
|
423
|
-
readonly required_role: {
|
|
424
|
-
readonly enum: readonly ["admin", "moderator", "member"];
|
|
425
|
-
readonly format: "public.app_role";
|
|
426
|
-
readonly type: "string";
|
|
427
|
-
};
|
|
428
|
-
readonly parent_id: {
|
|
429
|
-
readonly description: "Note:\nThis is a Foreign Key to `dash_navitems.id`.<fk table='dash_navitems' column='id'/>";
|
|
430
|
-
readonly format: "uuid";
|
|
431
|
-
readonly type: "string";
|
|
432
|
-
};
|
|
433
|
-
readonly location: {
|
|
434
|
-
readonly default: "sidebar_main";
|
|
435
|
-
readonly format: "text";
|
|
436
|
-
readonly type: "string";
|
|
437
|
-
};
|
|
438
|
-
};
|
|
439
|
-
readonly type: "object";
|
|
440
|
-
};
|
|
441
|
-
export declare const chat_messagesSchema: {
|
|
442
|
-
readonly description: "聊天消息";
|
|
443
|
-
readonly required: readonly ["id", "created_at", "updated_at", "chat_id", "role", "parts"];
|
|
444
|
-
readonly properties: {
|
|
445
|
-
readonly id: {
|
|
446
|
-
readonly default: "gen_random_uuid()";
|
|
447
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
448
|
-
readonly format: "uuid";
|
|
449
|
-
readonly type: "string";
|
|
450
|
-
};
|
|
451
|
-
readonly created_at: {
|
|
452
|
-
readonly default: "now()";
|
|
453
|
-
readonly format: "timestamp with time zone";
|
|
454
|
-
readonly type: "string";
|
|
455
|
-
};
|
|
456
|
-
readonly updated_at: {
|
|
457
|
-
readonly default: "now()";
|
|
458
|
-
readonly format: "timestamp with time zone";
|
|
459
|
-
readonly type: "string";
|
|
460
|
-
};
|
|
461
|
-
readonly chat_id: {
|
|
462
|
-
readonly description: "Note:\nThis is a Foreign Key to `chats.id`.<fk table='chats' column='id'/>";
|
|
463
|
-
readonly format: "uuid";
|
|
464
|
-
readonly type: "string";
|
|
465
|
-
};
|
|
466
|
-
readonly role: {
|
|
467
|
-
readonly default: "user";
|
|
468
|
-
readonly enum: readonly ["system", "user", "assistant", "model", "error", "tool"];
|
|
469
|
-
readonly format: "public.chat_role";
|
|
470
|
-
readonly type: "string";
|
|
471
|
-
};
|
|
472
|
-
readonly parts: {
|
|
473
|
-
readonly format: "jsonb";
|
|
474
|
-
};
|
|
475
|
-
readonly attachments: {
|
|
476
|
-
readonly format: "jsonb";
|
|
477
|
-
};
|
|
478
|
-
readonly user_id: {
|
|
479
|
-
readonly format: "uuid";
|
|
480
|
-
readonly type: "string";
|
|
481
|
-
};
|
|
482
|
-
readonly grounding_metadata: {
|
|
483
|
-
readonly description: "Google Search Grounding 元数据";
|
|
484
|
-
readonly format: "jsonb";
|
|
485
|
-
};
|
|
486
|
-
};
|
|
487
|
-
readonly type: "object";
|
|
488
|
-
};
|
|
489
|
-
export declare const chatsSchema: {
|
|
490
|
-
readonly description: "聊天主表";
|
|
491
|
-
readonly required: readonly ["id", "created_at", "title", "visibility", "agent_id", "type"];
|
|
492
|
-
readonly properties: {
|
|
493
|
-
readonly id: {
|
|
494
|
-
readonly default: "gen_random_uuid()";
|
|
495
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
496
|
-
readonly format: "uuid";
|
|
497
|
-
readonly type: "string";
|
|
498
|
-
};
|
|
499
|
-
readonly created_at: {
|
|
500
|
-
readonly default: "now()";
|
|
501
|
-
readonly format: "timestamp with time zone";
|
|
502
|
-
readonly type: "string";
|
|
503
|
-
};
|
|
504
|
-
readonly updated_at: {
|
|
505
|
-
readonly format: "timestamp with time zone";
|
|
506
|
-
readonly type: "string";
|
|
507
|
-
};
|
|
508
|
-
readonly title: {
|
|
509
|
-
readonly format: "text";
|
|
510
|
-
readonly type: "string";
|
|
511
|
-
};
|
|
512
|
-
readonly user_id: {
|
|
513
|
-
readonly format: "uuid";
|
|
514
|
-
readonly type: "string";
|
|
515
|
-
};
|
|
516
|
-
readonly visibility: {
|
|
517
|
-
readonly default: "private";
|
|
518
|
-
readonly description: "Chat visibility: private or public";
|
|
519
|
-
readonly enum: readonly ["private", "public"];
|
|
520
|
-
readonly format: "public.chat_visibility";
|
|
521
|
-
readonly type: "string";
|
|
522
|
-
};
|
|
523
|
-
readonly lastContext: {
|
|
524
|
-
readonly description: "type: AppUsage";
|
|
525
|
-
readonly format: "jsonb";
|
|
526
|
-
};
|
|
527
|
-
readonly agent_id: {
|
|
528
|
-
readonly format: "text";
|
|
529
|
-
readonly type: "string";
|
|
530
|
-
};
|
|
531
|
-
readonly state: {
|
|
532
|
-
readonly format: "jsonb";
|
|
533
|
-
};
|
|
534
|
-
readonly type: {
|
|
535
|
-
readonly default: "standard";
|
|
536
|
-
readonly description: "对话类型: standard (普通对话), inbox (用户系统收件箱/主会话)";
|
|
537
|
-
readonly format: "text";
|
|
538
|
-
readonly type: "string";
|
|
539
|
-
};
|
|
540
|
-
};
|
|
541
|
-
readonly type: "object";
|
|
542
|
-
};
|
|
543
|
-
export declare const services_lajiSchema: {
|
|
544
|
-
readonly description: "以http api提供的服务";
|
|
545
|
-
readonly required: readonly ["id", "created_at", "updated_at", "service_type", "is_health"];
|
|
546
|
-
readonly properties: {
|
|
547
|
-
readonly id: {
|
|
548
|
-
readonly default: "gen_random_uuid()";
|
|
549
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
550
|
-
readonly format: "uuid";
|
|
551
|
-
readonly type: "string";
|
|
552
|
-
};
|
|
553
|
-
readonly created_at: {
|
|
554
|
-
readonly default: "now()";
|
|
555
|
-
readonly format: "timestamp with time zone";
|
|
556
|
-
readonly type: "string";
|
|
557
|
-
};
|
|
558
|
-
readonly updated_at: {
|
|
559
|
-
readonly default: "now()";
|
|
560
|
-
readonly format: "timestamp with time zone";
|
|
561
|
-
readonly type: "string";
|
|
562
|
-
};
|
|
563
|
-
readonly service_type: {
|
|
564
|
-
readonly format: "text";
|
|
565
|
-
readonly type: "string";
|
|
566
|
-
};
|
|
567
|
-
readonly local_url: {
|
|
568
|
-
readonly format: "text";
|
|
569
|
-
readonly type: "string";
|
|
570
|
-
};
|
|
571
|
-
readonly public_url: {
|
|
572
|
-
readonly format: "text";
|
|
573
|
-
readonly type: "string";
|
|
574
|
-
};
|
|
575
|
-
readonly worker_id: {
|
|
576
|
-
readonly format: "text";
|
|
577
|
-
readonly type: "string";
|
|
578
|
-
};
|
|
579
|
-
readonly user_id: {
|
|
580
|
-
readonly default: "gen_random_uuid()";
|
|
581
|
-
readonly format: "uuid";
|
|
582
|
-
readonly type: "string";
|
|
583
|
-
};
|
|
584
|
-
readonly is_health: {
|
|
585
|
-
readonly default: false;
|
|
586
|
-
readonly format: "boolean";
|
|
587
|
-
readonly type: "boolean";
|
|
588
|
-
};
|
|
589
|
-
};
|
|
590
|
-
readonly type: "object";
|
|
591
|
-
};
|
|
592
|
-
export declare const user_logsSchema: {
|
|
593
|
-
readonly required: readonly ["id", "user_id", "event_type", "level"];
|
|
594
|
-
readonly properties: {
|
|
595
|
-
readonly id: {
|
|
596
|
-
readonly default: "gen_random_uuid()";
|
|
597
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
598
|
-
readonly format: "uuid";
|
|
599
|
-
readonly type: "string";
|
|
600
|
-
};
|
|
601
|
-
readonly user_id: {
|
|
602
|
-
readonly default: "auth.uid()";
|
|
603
|
-
readonly format: "uuid";
|
|
604
|
-
readonly type: "string";
|
|
605
|
-
};
|
|
606
|
-
readonly event_type: {
|
|
607
|
-
readonly format: "text";
|
|
608
|
-
readonly type: "string";
|
|
609
|
-
};
|
|
610
|
-
readonly level: {
|
|
611
|
-
readonly format: "text";
|
|
612
|
-
readonly type: "string";
|
|
613
|
-
};
|
|
614
|
-
readonly content: {
|
|
615
|
-
readonly format: "text";
|
|
616
|
-
readonly type: "string";
|
|
617
|
-
};
|
|
618
|
-
readonly meta: {
|
|
619
|
-
readonly format: "jsonb";
|
|
620
|
-
};
|
|
621
|
-
readonly resource_type: {
|
|
622
|
-
readonly format: "text";
|
|
623
|
-
readonly type: "string";
|
|
624
|
-
};
|
|
625
|
-
readonly resource_id: {
|
|
626
|
-
readonly format: "uuid";
|
|
627
|
-
readonly type: "string";
|
|
628
|
-
};
|
|
629
|
-
readonly created_at: {
|
|
630
|
-
readonly default: "now()";
|
|
631
|
-
readonly format: "timestamp with time zone";
|
|
632
|
-
readonly type: "string";
|
|
633
|
-
};
|
|
634
|
-
};
|
|
635
|
-
readonly type: "object";
|
|
636
|
-
};
|
|
637
|
-
export declare const browsersSchema: {
|
|
638
|
-
readonly description: "浏览器";
|
|
639
|
-
readonly required: readonly ["id", "created_at"];
|
|
640
|
-
readonly properties: {
|
|
641
|
-
readonly id: {
|
|
642
|
-
readonly default: "gen_random_uuid()";
|
|
643
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
644
|
-
readonly format: "uuid";
|
|
645
|
-
readonly type: "string";
|
|
646
|
-
};
|
|
647
|
-
readonly created_at: {
|
|
648
|
-
readonly default: "now()";
|
|
649
|
-
readonly format: "timestamp with time zone";
|
|
650
|
-
readonly type: "string";
|
|
651
|
-
};
|
|
652
|
-
readonly updated_at: {
|
|
653
|
-
readonly default: "now()";
|
|
654
|
-
readonly format: "timestamp with time zone";
|
|
655
|
-
readonly type: "string";
|
|
656
|
-
};
|
|
657
|
-
readonly sandbox_id: {
|
|
658
|
-
readonly description: "运行的sandbox实例ID";
|
|
659
|
-
readonly format: "text";
|
|
660
|
-
readonly type: "string";
|
|
661
|
-
};
|
|
662
|
-
readonly title: {
|
|
663
|
-
readonly description: "标题";
|
|
664
|
-
readonly format: "text";
|
|
665
|
-
readonly type: "string";
|
|
666
|
-
};
|
|
667
|
-
readonly description: {
|
|
668
|
-
readonly description: "描述";
|
|
669
|
-
readonly format: "text";
|
|
670
|
-
readonly type: "string";
|
|
671
|
-
};
|
|
672
|
-
readonly cdpUrl: {
|
|
673
|
-
readonly description: "cdp 端点";
|
|
674
|
-
readonly format: "text";
|
|
675
|
-
readonly type: "string";
|
|
676
|
-
};
|
|
677
|
-
readonly user_id: {
|
|
678
|
-
readonly format: "uuid";
|
|
679
|
-
readonly type: "string";
|
|
680
|
-
};
|
|
681
|
-
readonly profile_id: {
|
|
682
|
-
readonly description: "profile_id";
|
|
683
|
-
readonly format: "text";
|
|
684
|
-
readonly type: "string";
|
|
685
|
-
};
|
|
686
|
-
readonly provider: {
|
|
687
|
-
readonly format: "text";
|
|
688
|
-
readonly type: "string";
|
|
689
|
-
};
|
|
690
|
-
readonly provider_config: {
|
|
691
|
-
readonly format: "jsonb";
|
|
692
|
-
};
|
|
693
|
-
readonly config: {
|
|
694
|
-
readonly description: "存储浏览器配置及持久化状态(如Cookies)";
|
|
695
|
-
readonly format: "jsonb";
|
|
696
|
-
};
|
|
697
|
-
};
|
|
698
|
-
readonly type: "object";
|
|
699
|
-
};
|
|
700
|
-
export declare const request_trackerSchema: {
|
|
701
|
-
readonly properties: {
|
|
702
|
-
readonly method: {
|
|
703
|
-
readonly format: "text";
|
|
704
|
-
readonly type: "string";
|
|
705
|
-
};
|
|
706
|
-
readonly url: {
|
|
707
|
-
readonly format: "text";
|
|
708
|
-
readonly type: "string";
|
|
709
|
-
};
|
|
710
|
-
readonly params: {
|
|
711
|
-
readonly format: "jsonb";
|
|
712
|
-
};
|
|
713
|
-
readonly body: {
|
|
714
|
-
readonly format: "jsonb";
|
|
715
|
-
};
|
|
716
|
-
readonly headers: {
|
|
717
|
-
readonly format: "jsonb";
|
|
718
|
-
};
|
|
719
|
-
readonly request_id: {
|
|
720
|
-
readonly format: "bigint";
|
|
721
|
-
readonly type: "integer";
|
|
722
|
-
};
|
|
723
|
-
readonly type: {
|
|
724
|
-
readonly description: "服务类型";
|
|
725
|
-
readonly format: "text";
|
|
726
|
-
readonly type: "string";
|
|
727
|
-
};
|
|
728
|
-
};
|
|
729
|
-
readonly type: "object";
|
|
730
|
-
};
|
|
731
|
-
export declare const workersSchema: {
|
|
732
|
-
readonly description: "Cleanup: Removed legacy on_worker_ready trigger that relied on deprecated config->publicUrl.";
|
|
733
|
-
readonly required: readonly ["id", "created_at", "updated_at", "host_id"];
|
|
734
|
-
readonly properties: {
|
|
735
|
-
readonly id: {
|
|
736
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
737
|
-
readonly format: "text";
|
|
738
|
-
readonly type: "string";
|
|
739
|
-
};
|
|
740
|
-
readonly created_at: {
|
|
741
|
-
readonly default: "now()";
|
|
742
|
-
readonly format: "timestamp with time zone";
|
|
743
|
-
readonly type: "string";
|
|
744
|
-
};
|
|
745
|
-
readonly updated_at: {
|
|
746
|
-
readonly default: "now()";
|
|
747
|
-
readonly format: "timestamp with time zone";
|
|
748
|
-
readonly type: "string";
|
|
749
|
-
};
|
|
750
|
-
readonly name: {
|
|
751
|
-
readonly format: "text";
|
|
752
|
-
readonly type: "string";
|
|
753
|
-
};
|
|
754
|
-
readonly user_id: {
|
|
755
|
-
readonly default: "auth.uid()";
|
|
756
|
-
readonly format: "uuid";
|
|
757
|
-
readonly type: "string";
|
|
758
|
-
};
|
|
759
|
-
readonly state: {
|
|
760
|
-
readonly format: "jsonb";
|
|
761
|
-
};
|
|
762
|
-
readonly latest_pull_at: {
|
|
763
|
-
readonly format: "timestamp with time zone";
|
|
764
|
-
readonly type: "string";
|
|
765
|
-
};
|
|
766
|
-
readonly config: {
|
|
767
|
-
readonly description: "worker config (配置信息)";
|
|
768
|
-
readonly format: "jsonb";
|
|
769
|
-
};
|
|
770
|
-
readonly host_id: {
|
|
771
|
-
readonly description: "所属计算节点ID, 不能为空\n\nNote:\nThis is a Foreign Key to `compute_nodes.id`.<fk table='compute_nodes' column='id'/>";
|
|
772
|
-
readonly format: "uuid";
|
|
773
|
-
readonly type: "string";
|
|
774
|
-
};
|
|
775
|
-
readonly container_id: {
|
|
776
|
-
readonly format: "text";
|
|
777
|
-
readonly type: "string";
|
|
778
|
-
};
|
|
779
|
-
readonly status: {
|
|
780
|
-
readonly default: "offline";
|
|
781
|
-
readonly description: "created, pending, starting, running, offlining, offline, error";
|
|
782
|
-
readonly enum: readonly ["starting", "running", "stopping", "stopped", "offline"];
|
|
783
|
-
readonly format: "public.worker_status";
|
|
784
|
-
readonly type: "string";
|
|
785
|
-
};
|
|
786
|
-
readonly is_managed: {
|
|
787
|
-
readonly default: false;
|
|
788
|
-
readonly description: "Whether the worker is managed by the system (e.g. Docker container)";
|
|
789
|
-
readonly format: "boolean";
|
|
790
|
-
readonly type: "boolean";
|
|
791
|
-
};
|
|
792
|
-
readonly public_domain: {
|
|
793
|
-
readonly description: "Worker 节点的公网访问域名";
|
|
794
|
-
readonly format: "text";
|
|
795
|
-
readonly type: "string";
|
|
796
|
-
};
|
|
797
|
-
};
|
|
798
|
-
readonly type: "object";
|
|
799
|
-
};
|
|
800
|
-
export declare const resourcesSchema: {
|
|
801
|
-
readonly description: "通用列表视图";
|
|
802
|
-
readonly required: readonly ["id", "created_at"];
|
|
803
|
-
readonly properties: {
|
|
804
|
-
readonly id: {
|
|
805
|
-
readonly default: "gen_random_uuid()";
|
|
806
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
807
|
-
readonly format: "uuid";
|
|
808
|
-
readonly type: "string";
|
|
809
|
-
};
|
|
810
|
-
readonly created_at: {
|
|
811
|
-
readonly default: "now()";
|
|
812
|
-
readonly format: "timestamp with time zone";
|
|
813
|
-
readonly type: "string";
|
|
814
|
-
};
|
|
815
|
-
readonly updated_at: {
|
|
816
|
-
readonly default: "now()";
|
|
817
|
-
readonly format: "timestamp with time zone";
|
|
818
|
-
readonly type: "string";
|
|
819
|
-
};
|
|
820
|
-
readonly user_id: {
|
|
821
|
-
readonly default: "gen_random_uuid()";
|
|
822
|
-
readonly format: "uuid";
|
|
823
|
-
readonly type: "string";
|
|
824
|
-
};
|
|
825
|
-
readonly title: {
|
|
826
|
-
readonly format: "text";
|
|
827
|
-
readonly type: "string";
|
|
828
|
-
};
|
|
829
|
-
readonly description: {
|
|
830
|
-
readonly format: "text";
|
|
831
|
-
readonly type: "string";
|
|
832
|
-
};
|
|
833
|
-
readonly icon: {
|
|
834
|
-
readonly format: "text";
|
|
835
|
-
readonly type: "string";
|
|
836
|
-
};
|
|
837
|
-
readonly is_public: {
|
|
838
|
-
readonly default: false;
|
|
839
|
-
readonly format: "boolean";
|
|
840
|
-
readonly type: "boolean";
|
|
841
|
-
};
|
|
842
|
-
readonly target_id: {
|
|
843
|
-
readonly format: "uuid";
|
|
844
|
-
readonly type: "string";
|
|
845
|
-
};
|
|
846
|
-
readonly type: {
|
|
847
|
-
readonly format: "text";
|
|
848
|
-
readonly type: "string";
|
|
849
|
-
};
|
|
850
|
-
readonly data: {
|
|
851
|
-
readonly format: "jsonb";
|
|
852
|
-
};
|
|
853
|
-
readonly meta: {
|
|
854
|
-
readonly format: "jsonb";
|
|
855
|
-
};
|
|
856
|
-
readonly hash1: {
|
|
857
|
-
readonly description: "基于hash的唯一识别码";
|
|
858
|
-
readonly format: "text";
|
|
859
|
-
readonly type: "string";
|
|
860
|
-
};
|
|
861
|
-
};
|
|
862
|
-
readonly type: "object";
|
|
863
|
-
};
|
|
864
|
-
export declare const profilesSchema: {
|
|
865
|
-
readonly description: "用户详细资料";
|
|
866
|
-
readonly required: readonly ["id"];
|
|
867
|
-
readonly properties: {
|
|
868
|
-
readonly id: {
|
|
869
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
870
|
-
readonly format: "uuid";
|
|
871
|
-
readonly type: "string";
|
|
872
|
-
};
|
|
873
|
-
readonly updated_at: {
|
|
874
|
-
readonly format: "timestamp with time zone";
|
|
875
|
-
readonly type: "string";
|
|
876
|
-
};
|
|
877
|
-
readonly username: {
|
|
878
|
-
readonly format: "text";
|
|
879
|
-
readonly type: "string";
|
|
880
|
-
};
|
|
881
|
-
readonly full_name: {
|
|
882
|
-
readonly format: "text";
|
|
883
|
-
readonly type: "string";
|
|
884
|
-
};
|
|
885
|
-
readonly avatar_url: {
|
|
886
|
-
readonly format: "text";
|
|
887
|
-
readonly type: "string";
|
|
888
|
-
};
|
|
889
|
-
readonly website: {
|
|
890
|
-
readonly format: "text";
|
|
891
|
-
readonly type: "string";
|
|
892
|
-
};
|
|
893
|
-
};
|
|
894
|
-
readonly type: "object";
|
|
895
|
-
};
|
|
896
|
-
export declare const adk_quick_startsSchema: {
|
|
897
|
-
readonly description: "Agent 快捷启动指令模板";
|
|
898
|
-
readonly required: readonly ["id", "title", "prompt", "agent_name"];
|
|
899
|
-
readonly properties: {
|
|
900
|
-
readonly id: {
|
|
901
|
-
readonly default: "gen_random_uuid()";
|
|
902
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
903
|
-
readonly format: "uuid";
|
|
904
|
-
readonly type: "string";
|
|
905
|
-
};
|
|
906
|
-
readonly title: {
|
|
907
|
-
readonly format: "text";
|
|
908
|
-
readonly type: "string";
|
|
909
|
-
};
|
|
910
|
-
readonly description: {
|
|
911
|
-
readonly format: "text";
|
|
912
|
-
readonly type: "string";
|
|
913
|
-
};
|
|
914
|
-
readonly prompt: {
|
|
915
|
-
readonly format: "text";
|
|
916
|
-
readonly type: "string";
|
|
917
|
-
};
|
|
918
|
-
readonly agent_name: {
|
|
919
|
-
readonly default: "simple_chat";
|
|
920
|
-
readonly format: "text";
|
|
921
|
-
readonly type: "string";
|
|
922
|
-
};
|
|
923
|
-
readonly is_active: {
|
|
924
|
-
readonly default: true;
|
|
925
|
-
readonly format: "boolean";
|
|
926
|
-
readonly type: "boolean";
|
|
927
|
-
};
|
|
928
|
-
readonly ord: {
|
|
929
|
-
readonly default: 0;
|
|
930
|
-
readonly format: "integer";
|
|
931
|
-
readonly type: "integer";
|
|
932
|
-
};
|
|
933
|
-
readonly created_at: {
|
|
934
|
-
readonly default: "now()";
|
|
935
|
-
readonly format: "timestamp with time zone";
|
|
936
|
-
readonly type: "string";
|
|
937
|
-
};
|
|
938
|
-
readonly updated_at: {
|
|
939
|
-
readonly default: "now()";
|
|
940
|
-
readonly format: "timestamp with time zone";
|
|
941
|
-
readonly type: "string";
|
|
942
|
-
};
|
|
943
|
-
};
|
|
944
|
-
readonly type: "object";
|
|
945
|
-
};
|
|
946
|
-
export declare const voltagent_memory_workflow_statesSchema: {
|
|
947
|
-
readonly required: readonly ["id", "workflow_id", "workflow_name", "status", "created_at", "updated_at"];
|
|
948
|
-
readonly properties: {
|
|
949
|
-
readonly id: {
|
|
950
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
951
|
-
readonly format: "text";
|
|
952
|
-
readonly type: "string";
|
|
953
|
-
};
|
|
954
|
-
readonly workflow_id: {
|
|
955
|
-
readonly format: "text";
|
|
956
|
-
readonly type: "string";
|
|
957
|
-
};
|
|
958
|
-
readonly workflow_name: {
|
|
959
|
-
readonly format: "text";
|
|
960
|
-
readonly type: "string";
|
|
961
|
-
};
|
|
962
|
-
readonly status: {
|
|
963
|
-
readonly format: "text";
|
|
964
|
-
readonly type: "string";
|
|
965
|
-
};
|
|
966
|
-
readonly suspension: {
|
|
967
|
-
readonly format: "jsonb";
|
|
968
|
-
};
|
|
969
|
-
readonly events: {
|
|
970
|
-
readonly format: "jsonb";
|
|
971
|
-
};
|
|
972
|
-
readonly output: {
|
|
973
|
-
readonly format: "jsonb";
|
|
974
|
-
};
|
|
975
|
-
readonly cancellation: {
|
|
976
|
-
readonly format: "jsonb";
|
|
977
|
-
};
|
|
978
|
-
readonly user_id: {
|
|
979
|
-
readonly format: "text";
|
|
980
|
-
readonly type: "string";
|
|
981
|
-
};
|
|
982
|
-
readonly conversation_id: {
|
|
983
|
-
readonly format: "text";
|
|
984
|
-
readonly type: "string";
|
|
985
|
-
};
|
|
986
|
-
readonly metadata: {
|
|
987
|
-
readonly format: "jsonb";
|
|
988
|
-
};
|
|
989
|
-
readonly created_at: {
|
|
990
|
-
readonly format: "timestamp with time zone";
|
|
991
|
-
readonly type: "string";
|
|
992
|
-
};
|
|
993
|
-
readonly updated_at: {
|
|
994
|
-
readonly format: "timestamp with time zone";
|
|
995
|
-
readonly type: "string";
|
|
996
|
-
};
|
|
997
|
-
};
|
|
998
|
-
readonly type: "object";
|
|
999
|
-
};
|
|
1000
|
-
export declare const user_api_keysSchema: {
|
|
1001
|
-
readonly description: "用户 API Key 管理表,存储 token 元数据";
|
|
1002
|
-
readonly required: readonly ["id", "user_id", "name", "prefix", "jti", "created_at"];
|
|
1003
|
-
readonly properties: {
|
|
1004
|
-
readonly id: {
|
|
1005
|
-
readonly default: "gen_random_uuid()";
|
|
1006
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1007
|
-
readonly format: "uuid";
|
|
1008
|
-
readonly type: "string";
|
|
1009
|
-
};
|
|
1010
|
-
readonly user_id: {
|
|
1011
|
-
readonly format: "uuid";
|
|
1012
|
-
readonly type: "string";
|
|
1013
|
-
};
|
|
1014
|
-
readonly name: {
|
|
1015
|
-
readonly format: "text";
|
|
1016
|
-
readonly type: "string";
|
|
1017
|
-
};
|
|
1018
|
-
readonly prefix: {
|
|
1019
|
-
readonly description: "Token 前 8 字符,用于 UI 显示和识别";
|
|
1020
|
-
readonly format: "text";
|
|
1021
|
-
readonly type: "string";
|
|
1022
|
-
};
|
|
1023
|
-
readonly jti: {
|
|
1024
|
-
readonly description: "JWT ID,用于验证和撤销 token";
|
|
1025
|
-
readonly format: "uuid";
|
|
1026
|
-
readonly type: "string";
|
|
1027
|
-
};
|
|
1028
|
-
readonly expires_at: {
|
|
1029
|
-
readonly description: "Token 过期时间,null 表示永不过期";
|
|
1030
|
-
readonly format: "timestamp with time zone";
|
|
1031
|
-
readonly type: "string";
|
|
1032
|
-
};
|
|
1033
|
-
readonly created_at: {
|
|
1034
|
-
readonly default: "now()";
|
|
1035
|
-
readonly format: "timestamp with time zone";
|
|
1036
|
-
readonly type: "string";
|
|
1037
|
-
};
|
|
1038
|
-
readonly last_used_at: {
|
|
1039
|
-
readonly format: "timestamp with time zone";
|
|
1040
|
-
readonly type: "string";
|
|
1041
|
-
};
|
|
1042
|
-
};
|
|
1043
|
-
readonly type: "object";
|
|
1044
|
-
};
|
|
1045
|
-
export declare const system_config_publicSchema: {
|
|
1046
|
-
readonly description: "系统公开配置表,存储可公开访问的配置项(如主域名规则)";
|
|
1047
|
-
readonly required: readonly ["key", "value"];
|
|
1048
|
-
readonly properties: {
|
|
1049
|
-
readonly key: {
|
|
1050
|
-
readonly description: "配置项唯一键名\n\nNote:\nThis is a Primary Key.<pk/>";
|
|
1051
|
-
readonly format: "text";
|
|
1052
|
-
readonly type: "string";
|
|
1053
|
-
};
|
|
1054
|
-
readonly value: {
|
|
1055
|
-
readonly description: "配置项的 JSONB 值";
|
|
1056
|
-
readonly format: "jsonb";
|
|
1057
|
-
};
|
|
1058
|
-
readonly description: {
|
|
1059
|
-
readonly description: "配置项描述";
|
|
1060
|
-
readonly format: "text";
|
|
1061
|
-
readonly type: "string";
|
|
1062
|
-
};
|
|
1063
|
-
readonly created_at: {
|
|
1064
|
-
readonly default: "now()";
|
|
1065
|
-
readonly format: "timestamp with time zone";
|
|
1066
|
-
readonly type: "string";
|
|
1067
|
-
};
|
|
1068
|
-
readonly updated_at: {
|
|
1069
|
-
readonly default: "now()";
|
|
1070
|
-
readonly format: "timestamp with time zone";
|
|
1071
|
-
readonly type: "string";
|
|
1072
|
-
};
|
|
1073
|
-
};
|
|
1074
|
-
readonly type: "object";
|
|
1075
|
-
};
|
|
1076
|
-
export declare const mitm_rulesSchema: {
|
|
1077
|
-
readonly required: readonly ["id"];
|
|
1078
|
-
readonly properties: {
|
|
1079
|
-
readonly id: {
|
|
1080
|
-
readonly default: "gen_random_uuid()";
|
|
1081
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1082
|
-
readonly format: "uuid";
|
|
1083
|
-
readonly type: "string";
|
|
1084
|
-
};
|
|
1085
|
-
readonly user_id: {
|
|
1086
|
-
readonly format: "uuid";
|
|
1087
|
-
readonly type: "string";
|
|
1088
|
-
};
|
|
1089
|
-
readonly resource_id: {
|
|
1090
|
-
readonly description: "Note:\nThis is a Foreign Key to `resources.id`.<fk table='resources' column='id'/>";
|
|
1091
|
-
readonly format: "uuid";
|
|
1092
|
-
readonly type: "string";
|
|
1093
|
-
};
|
|
1094
|
-
readonly name: {
|
|
1095
|
-
readonly format: "text";
|
|
1096
|
-
readonly type: "string";
|
|
1097
|
-
};
|
|
1098
|
-
readonly match_pattern: {
|
|
1099
|
-
readonly format: "text";
|
|
1100
|
-
readonly type: "string";
|
|
1101
|
-
};
|
|
1102
|
-
readonly action_type: {
|
|
1103
|
-
readonly format: "text";
|
|
1104
|
-
readonly type: "string";
|
|
1105
|
-
};
|
|
1106
|
-
readonly action_config: {
|
|
1107
|
-
readonly format: "jsonb";
|
|
1108
|
-
};
|
|
1109
|
-
readonly is_active: {
|
|
1110
|
-
readonly default: true;
|
|
1111
|
-
readonly format: "boolean";
|
|
1112
|
-
readonly type: "boolean";
|
|
1113
|
-
};
|
|
1114
|
-
readonly created_at: {
|
|
1115
|
-
readonly default: "now()";
|
|
1116
|
-
readonly format: "timestamp with time zone";
|
|
1117
|
-
readonly type: "string";
|
|
1118
|
-
};
|
|
1119
|
-
};
|
|
1120
|
-
readonly type: "object";
|
|
1121
|
-
};
|
|
1122
|
-
export declare const audit_skillsSchema: {
|
|
1123
|
-
readonly required: readonly ["id", "created_at", "updated_at", "project_id", "name"];
|
|
1124
|
-
readonly properties: {
|
|
1125
|
-
readonly id: {
|
|
1126
|
-
readonly default: "extensions.uuid_generate_v4()";
|
|
1127
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1128
|
-
readonly format: "uuid";
|
|
1129
|
-
readonly type: "string";
|
|
1130
|
-
};
|
|
1131
|
-
readonly created_at: {
|
|
1132
|
-
readonly default: "now()";
|
|
1133
|
-
readonly format: "timestamp with time zone";
|
|
1134
|
-
readonly type: "string";
|
|
1135
|
-
};
|
|
1136
|
-
readonly updated_at: {
|
|
1137
|
-
readonly default: "now()";
|
|
1138
|
-
readonly format: "timestamp with time zone";
|
|
1139
|
-
readonly type: "string";
|
|
1140
|
-
};
|
|
1141
|
-
readonly project_id: {
|
|
1142
|
-
readonly description: "Note:\nThis is a Foreign Key to `audit_projects.id`.<fk table='audit_projects' column='id'/>";
|
|
1143
|
-
readonly format: "uuid";
|
|
1144
|
-
readonly type: "string";
|
|
1145
|
-
};
|
|
1146
|
-
readonly name: {
|
|
1147
|
-
readonly format: "text";
|
|
1148
|
-
readonly type: "string";
|
|
1149
|
-
};
|
|
1150
|
-
readonly description: {
|
|
1151
|
-
readonly format: "text";
|
|
1152
|
-
readonly type: "string";
|
|
1153
|
-
};
|
|
1154
|
-
readonly source_path: {
|
|
1155
|
-
readonly format: "text";
|
|
1156
|
-
readonly type: "string";
|
|
1157
|
-
};
|
|
1158
|
-
readonly params_schema: {
|
|
1159
|
-
readonly format: "jsonb";
|
|
1160
|
-
};
|
|
1161
|
-
readonly dependencies: {
|
|
1162
|
-
readonly format: "jsonb";
|
|
1163
|
-
};
|
|
1164
|
-
readonly version: {
|
|
1165
|
-
readonly format: "text";
|
|
1166
|
-
readonly type: "string";
|
|
1167
|
-
};
|
|
1168
|
-
};
|
|
1169
|
-
readonly type: "object";
|
|
1170
|
-
};
|
|
1171
|
-
export declare const audit_tasksSchema: {
|
|
1172
|
-
readonly required: readonly ["id", "created_at", "updated_at", "project_id"];
|
|
1173
|
-
readonly properties: {
|
|
1174
|
-
readonly id: {
|
|
1175
|
-
readonly default: "extensions.uuid_generate_v4()";
|
|
1176
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1177
|
-
readonly format: "uuid";
|
|
1178
|
-
readonly type: "string";
|
|
1179
|
-
};
|
|
1180
|
-
readonly created_at: {
|
|
1181
|
-
readonly default: "now()";
|
|
1182
|
-
readonly format: "timestamp with time zone";
|
|
1183
|
-
readonly type: "string";
|
|
1184
|
-
};
|
|
1185
|
-
readonly updated_at: {
|
|
1186
|
-
readonly default: "now()";
|
|
1187
|
-
readonly format: "timestamp with time zone";
|
|
1188
|
-
readonly type: "string";
|
|
1189
|
-
};
|
|
1190
|
-
readonly project_id: {
|
|
1191
|
-
readonly description: "Note:\nThis is a Foreign Key to `audit_projects.id`.<fk table='audit_projects' column='id'/>";
|
|
1192
|
-
readonly format: "uuid";
|
|
1193
|
-
readonly type: "string";
|
|
1194
|
-
};
|
|
1195
|
-
readonly user_id: {
|
|
1196
|
-
readonly format: "uuid";
|
|
1197
|
-
readonly type: "string";
|
|
1198
|
-
};
|
|
1199
|
-
readonly instructions: {
|
|
1200
|
-
readonly format: "text";
|
|
1201
|
-
readonly type: "string";
|
|
1202
|
-
};
|
|
1203
|
-
readonly skill_id: {
|
|
1204
|
-
readonly description: "Note:\nThis is a Foreign Key to `audit_skills.id`.<fk table='audit_skills' column='id'/>";
|
|
1205
|
-
readonly format: "uuid";
|
|
1206
|
-
readonly type: "string";
|
|
1207
|
-
};
|
|
1208
|
-
readonly sandbox_id: {
|
|
1209
|
-
readonly description: "Note:\nThis is a Foreign Key to `resources.id`.<fk table='resources' column='id'/>";
|
|
1210
|
-
readonly format: "uuid";
|
|
1211
|
-
readonly type: "string";
|
|
1212
|
-
};
|
|
1213
|
-
readonly status: {
|
|
1214
|
-
readonly default: "pending";
|
|
1215
|
-
readonly format: "text";
|
|
1216
|
-
readonly type: "string";
|
|
1217
|
-
};
|
|
1218
|
-
readonly result_summary: {
|
|
1219
|
-
readonly format: "text";
|
|
1220
|
-
readonly type: "string";
|
|
1221
|
-
};
|
|
1222
|
-
readonly logs_url: {
|
|
1223
|
-
readonly format: "text";
|
|
1224
|
-
readonly type: "string";
|
|
1225
|
-
};
|
|
1226
|
-
};
|
|
1227
|
-
readonly type: "object";
|
|
1228
|
-
};
|
|
1229
|
-
export declare const audit_pocsSchema: {
|
|
1230
|
-
readonly required: readonly ["id", "created_at", "updated_at", "project_id", "name"];
|
|
1231
|
-
readonly properties: {
|
|
1232
|
-
readonly id: {
|
|
1233
|
-
readonly default: "extensions.uuid_generate_v4()";
|
|
1234
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1235
|
-
readonly format: "uuid";
|
|
1236
|
-
readonly type: "string";
|
|
1237
|
-
};
|
|
1238
|
-
readonly created_at: {
|
|
1239
|
-
readonly default: "now()";
|
|
1240
|
-
readonly format: "timestamp with time zone";
|
|
1241
|
-
readonly type: "string";
|
|
1242
|
-
};
|
|
1243
|
-
readonly updated_at: {
|
|
1244
|
-
readonly default: "now()";
|
|
1245
|
-
readonly format: "timestamp with time zone";
|
|
1246
|
-
readonly type: "string";
|
|
1247
|
-
};
|
|
1248
|
-
readonly project_id: {
|
|
1249
|
-
readonly description: "Note:\nThis is a Foreign Key to `audit_projects.id`.<fk table='audit_projects' column='id'/>";
|
|
1250
|
-
readonly format: "uuid";
|
|
1251
|
-
readonly type: "string";
|
|
1252
|
-
};
|
|
1253
|
-
readonly name: {
|
|
1254
|
-
readonly format: "text";
|
|
1255
|
-
readonly type: "string";
|
|
1256
|
-
};
|
|
1257
|
-
readonly cve_id: {
|
|
1258
|
-
readonly format: "text";
|
|
1259
|
-
readonly type: "string";
|
|
1260
|
-
};
|
|
1261
|
-
readonly severity: {
|
|
1262
|
-
readonly format: "text";
|
|
1263
|
-
readonly type: "string";
|
|
1264
|
-
};
|
|
1265
|
-
readonly path: {
|
|
1266
|
-
readonly format: "text";
|
|
1267
|
-
readonly type: "string";
|
|
1268
|
-
};
|
|
1269
|
-
readonly status: {
|
|
1270
|
-
readonly default: "draft";
|
|
1271
|
-
readonly format: "text";
|
|
1272
|
-
readonly type: "string";
|
|
1273
|
-
};
|
|
1274
|
-
};
|
|
1275
|
-
readonly type: "object";
|
|
1276
|
-
};
|
|
1277
|
-
export declare const voltagent_memory_stepsSchema: {
|
|
1278
|
-
readonly required: readonly ["id", "conversation_id", "user_id", "agent_id", "step_index", "type", "role", "created_at"];
|
|
1279
|
-
readonly properties: {
|
|
1280
|
-
readonly id: {
|
|
1281
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1282
|
-
readonly format: "text";
|
|
1283
|
-
readonly type: "string";
|
|
1284
|
-
};
|
|
1285
|
-
readonly conversation_id: {
|
|
1286
|
-
readonly description: "Note:\nThis is a Foreign Key to `voltagent_memory_conversations.id`.<fk table='voltagent_memory_conversations' column='id'/>";
|
|
1287
|
-
readonly format: "text";
|
|
1288
|
-
readonly type: "string";
|
|
1289
|
-
};
|
|
1290
|
-
readonly user_id: {
|
|
1291
|
-
readonly format: "text";
|
|
1292
|
-
readonly type: "string";
|
|
1293
|
-
};
|
|
1294
|
-
readonly agent_id: {
|
|
1295
|
-
readonly format: "text";
|
|
1296
|
-
readonly type: "string";
|
|
1297
|
-
};
|
|
1298
|
-
readonly agent_name: {
|
|
1299
|
-
readonly format: "text";
|
|
1300
|
-
readonly type: "string";
|
|
1301
|
-
};
|
|
1302
|
-
readonly operation_id: {
|
|
1303
|
-
readonly format: "text";
|
|
1304
|
-
readonly type: "string";
|
|
1305
|
-
};
|
|
1306
|
-
readonly step_index: {
|
|
1307
|
-
readonly format: "integer";
|
|
1308
|
-
readonly type: "integer";
|
|
1309
|
-
};
|
|
1310
|
-
readonly type: {
|
|
1311
|
-
readonly format: "text";
|
|
1312
|
-
readonly type: "string";
|
|
1313
|
-
};
|
|
1314
|
-
readonly role: {
|
|
1315
|
-
readonly format: "text";
|
|
1316
|
-
readonly type: "string";
|
|
1317
|
-
};
|
|
1318
|
-
readonly content: {
|
|
1319
|
-
readonly format: "text";
|
|
1320
|
-
readonly type: "string";
|
|
1321
|
-
};
|
|
1322
|
-
readonly arguments: {
|
|
1323
|
-
readonly format: "jsonb";
|
|
1324
|
-
};
|
|
1325
|
-
readonly result: {
|
|
1326
|
-
readonly format: "jsonb";
|
|
1327
|
-
};
|
|
1328
|
-
readonly usage: {
|
|
1329
|
-
readonly format: "jsonb";
|
|
1330
|
-
};
|
|
1331
|
-
readonly sub_agent_id: {
|
|
1332
|
-
readonly format: "text";
|
|
1333
|
-
readonly type: "string";
|
|
1334
|
-
};
|
|
1335
|
-
readonly sub_agent_name: {
|
|
1336
|
-
readonly format: "text";
|
|
1337
|
-
readonly type: "string";
|
|
1338
|
-
};
|
|
1339
|
-
readonly created_at: {
|
|
1340
|
-
readonly default: "timezone('utc'::text, now())";
|
|
1341
|
-
readonly format: "timestamp with time zone";
|
|
1342
|
-
readonly type: "string";
|
|
1343
|
-
};
|
|
1344
|
-
};
|
|
1345
|
-
readonly type: "object";
|
|
1346
|
-
};
|
|
1347
|
-
export declare const audit_findingsSchema: {
|
|
1348
|
-
readonly required: readonly ["id", "created_at", "updated_at", "project_id", "title"];
|
|
1349
|
-
readonly properties: {
|
|
1350
|
-
readonly id: {
|
|
1351
|
-
readonly default: "extensions.uuid_generate_v4()";
|
|
1352
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1353
|
-
readonly format: "uuid";
|
|
1354
|
-
readonly type: "string";
|
|
1355
|
-
};
|
|
1356
|
-
readonly created_at: {
|
|
1357
|
-
readonly default: "now()";
|
|
1358
|
-
readonly format: "timestamp with time zone";
|
|
1359
|
-
readonly type: "string";
|
|
1360
|
-
};
|
|
1361
|
-
readonly updated_at: {
|
|
1362
|
-
readonly default: "now()";
|
|
1363
|
-
readonly format: "timestamp with time zone";
|
|
1364
|
-
readonly type: "string";
|
|
1365
|
-
};
|
|
1366
|
-
readonly project_id: {
|
|
1367
|
-
readonly description: "Note:\nThis is a Foreign Key to `audit_projects.id`.<fk table='audit_projects' column='id'/>";
|
|
1368
|
-
readonly format: "uuid";
|
|
1369
|
-
readonly type: "string";
|
|
1370
|
-
};
|
|
1371
|
-
readonly task_id: {
|
|
1372
|
-
readonly description: "Note:\nThis is a Foreign Key to `audit_tasks.id`.<fk table='audit_tasks' column='id'/>";
|
|
1373
|
-
readonly format: "uuid";
|
|
1374
|
-
readonly type: "string";
|
|
1375
|
-
};
|
|
1376
|
-
readonly severity: {
|
|
1377
|
-
readonly description: "Finding severity level: critical, high, medium, low, info";
|
|
1378
|
-
readonly enum: readonly ["critical", "high", "medium", "low", "info"];
|
|
1379
|
-
readonly format: "public.audit_finding_severity";
|
|
1380
|
-
readonly type: "string";
|
|
1381
|
-
};
|
|
1382
|
-
readonly title: {
|
|
1383
|
-
readonly format: "text";
|
|
1384
|
-
readonly type: "string";
|
|
1385
|
-
};
|
|
1386
|
-
readonly description: {
|
|
1387
|
-
readonly format: "text";
|
|
1388
|
-
readonly type: "string";
|
|
1389
|
-
};
|
|
1390
|
-
readonly remediation: {
|
|
1391
|
-
readonly format: "text";
|
|
1392
|
-
readonly type: "string";
|
|
1393
|
-
};
|
|
1394
|
-
readonly proof_poc: {
|
|
1395
|
-
readonly format: "text";
|
|
1396
|
-
readonly type: "string";
|
|
1397
|
-
};
|
|
1398
|
-
readonly ai_analysis: {
|
|
1399
|
-
readonly format: "text";
|
|
1400
|
-
readonly type: "string";
|
|
1401
|
-
};
|
|
1402
|
-
readonly status: {
|
|
1403
|
-
readonly default: "open";
|
|
1404
|
-
readonly format: "text";
|
|
1405
|
-
readonly type: "string";
|
|
1406
|
-
};
|
|
1407
|
-
};
|
|
1408
|
-
readonly type: "object";
|
|
1409
|
-
};
|
|
1410
|
-
export declare const worker_summarySchema: {
|
|
1411
|
-
readonly properties: {
|
|
1412
|
-
readonly id: {
|
|
1413
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1414
|
-
readonly format: "text";
|
|
1415
|
-
readonly type: "string";
|
|
1416
|
-
};
|
|
1417
|
-
readonly name: {
|
|
1418
|
-
readonly format: "text";
|
|
1419
|
-
readonly type: "string";
|
|
1420
|
-
};
|
|
1421
|
-
readonly status: {
|
|
1422
|
-
readonly enum: readonly ["starting", "running", "stopping", "stopped", "offline"];
|
|
1423
|
-
readonly format: "public.worker_status";
|
|
1424
|
-
readonly type: "string";
|
|
1425
|
-
};
|
|
1426
|
-
readonly host_id: {
|
|
1427
|
-
readonly description: "Note:\nThis is a Foreign Key to `compute_nodes.id`.<fk table='compute_nodes' column='id'/>";
|
|
1428
|
-
readonly format: "uuid";
|
|
1429
|
-
readonly type: "string";
|
|
1430
|
-
};
|
|
1431
|
-
readonly user_id: {
|
|
1432
|
-
readonly format: "uuid";
|
|
1433
|
-
readonly type: "string";
|
|
1434
|
-
};
|
|
1435
|
-
readonly public_url: {
|
|
1436
|
-
readonly format: "text";
|
|
1437
|
-
readonly type: "string";
|
|
1438
|
-
};
|
|
1439
|
-
readonly latest_pull_at: {
|
|
1440
|
-
readonly format: "timestamp with time zone";
|
|
1441
|
-
readonly type: "string";
|
|
1442
|
-
};
|
|
1443
|
-
readonly created_at: {
|
|
1444
|
-
readonly format: "timestamp with time zone";
|
|
1445
|
-
readonly type: "string";
|
|
1446
|
-
};
|
|
1447
|
-
readonly is_online: {
|
|
1448
|
-
readonly format: "boolean";
|
|
1449
|
-
readonly type: "boolean";
|
|
1450
|
-
};
|
|
1451
|
-
readonly latest_task: {
|
|
1452
|
-
readonly format: "jsonb";
|
|
1453
|
-
};
|
|
1454
|
-
};
|
|
1455
|
-
readonly type: "object";
|
|
1456
|
-
};
|
|
1457
|
-
export declare const event_streamsSchema: {
|
|
1458
|
-
readonly required: readonly ["id", "session_id", "user_id", "event", "data"];
|
|
1459
|
-
readonly properties: {
|
|
1460
|
-
readonly id: {
|
|
1461
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1462
|
-
readonly format: "text";
|
|
1463
|
-
readonly type: "string";
|
|
1464
|
-
};
|
|
1465
|
-
readonly session_id: {
|
|
1466
|
-
readonly format: "text";
|
|
1467
|
-
readonly type: "string";
|
|
1468
|
-
};
|
|
1469
|
-
readonly user_id: {
|
|
1470
|
-
readonly default: "auth.uid()";
|
|
1471
|
-
readonly format: "uuid";
|
|
1472
|
-
readonly type: "string";
|
|
1473
|
-
};
|
|
1474
|
-
readonly event: {
|
|
1475
|
-
readonly default: "adk_event";
|
|
1476
|
-
readonly format: "text";
|
|
1477
|
-
readonly type: "string";
|
|
1478
|
-
};
|
|
1479
|
-
readonly data: {
|
|
1480
|
-
readonly format: "jsonb";
|
|
1481
|
-
};
|
|
1482
|
-
readonly created_at: {
|
|
1483
|
-
readonly default: "now()";
|
|
1484
|
-
readonly format: "timestamp with time zone";
|
|
1485
|
-
readonly type: "string";
|
|
1486
|
-
};
|
|
1487
|
-
readonly updated_at: {
|
|
1488
|
-
readonly default: "now()";
|
|
1489
|
-
readonly format: "timestamp with time zone";
|
|
1490
|
-
readonly type: "string";
|
|
1491
|
-
};
|
|
1492
|
-
};
|
|
1493
|
-
readonly type: "object";
|
|
1494
|
-
};
|
|
1495
|
-
export declare const endpointsSchema: {
|
|
1496
|
-
readonly description: "服务端点信息";
|
|
1497
|
-
readonly required: readonly ["id", "created_at"];
|
|
1498
|
-
readonly properties: {
|
|
1499
|
-
readonly id: {
|
|
1500
|
-
readonly default: "gen_random_uuid()";
|
|
1501
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1502
|
-
readonly format: "uuid";
|
|
1503
|
-
readonly type: "string";
|
|
1504
|
-
};
|
|
1505
|
-
readonly created_at: {
|
|
1506
|
-
readonly default: "now()";
|
|
1507
|
-
readonly format: "timestamp with time zone";
|
|
1508
|
-
readonly type: "string";
|
|
1509
|
-
};
|
|
1510
|
-
readonly updated_at: {
|
|
1511
|
-
readonly format: "timestamp with time zone";
|
|
1512
|
-
readonly type: "string";
|
|
1513
|
-
};
|
|
1514
|
-
readonly type: {
|
|
1515
|
-
readonly format: "text";
|
|
1516
|
-
readonly type: "string";
|
|
1517
|
-
};
|
|
1518
|
-
readonly host_id: {
|
|
1519
|
-
readonly format: "uuid";
|
|
1520
|
-
readonly type: "string";
|
|
1521
|
-
};
|
|
1522
|
-
readonly is_heal: {
|
|
1523
|
-
readonly default: true;
|
|
1524
|
-
readonly format: "boolean";
|
|
1525
|
-
readonly type: "boolean";
|
|
1526
|
-
};
|
|
1527
|
-
readonly state: {
|
|
1528
|
-
readonly format: "jsonb";
|
|
1529
|
-
};
|
|
1530
|
-
readonly hostname: {
|
|
1531
|
-
readonly format: "text";
|
|
1532
|
-
readonly type: "string";
|
|
1533
|
-
};
|
|
1534
|
-
readonly url: {
|
|
1535
|
-
readonly format: "text";
|
|
1536
|
-
readonly type: "string";
|
|
1537
|
-
};
|
|
1538
|
-
readonly user_id: {
|
|
1539
|
-
readonly format: "uuid";
|
|
1540
|
-
readonly type: "string";
|
|
1541
|
-
};
|
|
1542
|
-
};
|
|
1543
|
-
readonly type: "object";
|
|
1544
|
-
};
|
|
1545
|
-
export declare const compute_nodesSchema: {
|
|
1546
|
-
readonly description: "计算资源节点 (VPS, HuggingFace Spaces, Local Docker, etc.)";
|
|
1547
|
-
readonly required: readonly ["id", "created_at", "updated_at", "name", "host", "port", "provider", "user_id"];
|
|
1548
|
-
readonly properties: {
|
|
1549
|
-
readonly id: {
|
|
1550
|
-
readonly default: "gen_random_uuid()";
|
|
1551
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1552
|
-
readonly format: "uuid";
|
|
1553
|
-
readonly type: "string";
|
|
1554
|
-
};
|
|
1555
|
-
readonly created_at: {
|
|
1556
|
-
readonly default: "now()";
|
|
1557
|
-
readonly format: "timestamp with time zone";
|
|
1558
|
-
readonly type: "string";
|
|
1559
|
-
};
|
|
1560
|
-
readonly updated_at: {
|
|
1561
|
-
readonly default: "now()";
|
|
1562
|
-
readonly format: "timestamp with time zone";
|
|
1563
|
-
readonly type: "string";
|
|
1564
|
-
};
|
|
1565
|
-
readonly name: {
|
|
1566
|
-
readonly format: "text";
|
|
1567
|
-
readonly type: "string";
|
|
1568
|
-
};
|
|
1569
|
-
readonly host: {
|
|
1570
|
-
readonly description: "Host domain or IP address";
|
|
1571
|
-
readonly format: "text";
|
|
1572
|
-
readonly type: "string";
|
|
1573
|
-
};
|
|
1574
|
-
readonly port: {
|
|
1575
|
-
readonly default: 22;
|
|
1576
|
-
readonly format: "integer";
|
|
1577
|
-
readonly type: "integer";
|
|
1578
|
-
};
|
|
1579
|
-
readonly username: {
|
|
1580
|
-
readonly default: "root";
|
|
1581
|
-
readonly format: "text";
|
|
1582
|
-
readonly type: "string";
|
|
1583
|
-
};
|
|
1584
|
-
readonly auth_secret: {
|
|
1585
|
-
readonly description: "SSH 私钥 或 API Token";
|
|
1586
|
-
readonly format: "text";
|
|
1587
|
-
readonly type: "string";
|
|
1588
|
-
};
|
|
1589
|
-
readonly status: {
|
|
1590
|
-
readonly default: "offline";
|
|
1591
|
-
readonly description: "Status of the compute node";
|
|
1592
|
-
readonly enum: readonly ["online", "offline"];
|
|
1593
|
-
readonly format: "public.compute_node_status";
|
|
1594
|
-
readonly type: "string";
|
|
1595
|
-
};
|
|
1596
|
-
readonly provider: {
|
|
1597
|
-
readonly default: "ssh";
|
|
1598
|
-
readonly description: "资源提供方类型: ssh (VPS), huggingface, local";
|
|
1599
|
-
readonly format: "text";
|
|
1600
|
-
readonly type: "string";
|
|
1601
|
-
};
|
|
1602
|
-
readonly user_id: {
|
|
1603
|
-
readonly default: "auth.uid()";
|
|
1604
|
-
readonly format: "uuid";
|
|
1605
|
-
readonly type: "string";
|
|
1606
|
-
};
|
|
1607
|
-
readonly is_public: {
|
|
1608
|
-
readonly default: false;
|
|
1609
|
-
readonly description: "Whether this node is shared public access";
|
|
1610
|
-
readonly format: "boolean";
|
|
1611
|
-
readonly type: "boolean";
|
|
1612
|
-
};
|
|
1613
|
-
};
|
|
1614
|
-
readonly type: "object";
|
|
1615
|
-
};
|
|
1616
|
-
export declare const sys_configSchema: {
|
|
1617
|
-
readonly description: "System-level configurations, e.g., GitHub App secrets";
|
|
1618
|
-
readonly required: readonly ["key", "value"];
|
|
1619
|
-
readonly properties: {
|
|
1620
|
-
readonly key: {
|
|
1621
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1622
|
-
readonly format: "text";
|
|
1623
|
-
readonly type: "string";
|
|
1624
|
-
};
|
|
1625
|
-
readonly value: {
|
|
1626
|
-
readonly format: "jsonb";
|
|
1627
|
-
};
|
|
1628
|
-
readonly description: {
|
|
1629
|
-
readonly format: "text";
|
|
1630
|
-
readonly type: "string";
|
|
1631
|
-
};
|
|
1632
|
-
readonly created_at: {
|
|
1633
|
-
readonly default: "now()";
|
|
1634
|
-
readonly format: "timestamp with time zone";
|
|
1635
|
-
readonly type: "string";
|
|
1636
|
-
};
|
|
1637
|
-
readonly updated_at: {
|
|
1638
|
-
readonly default: "now()";
|
|
1639
|
-
readonly format: "timestamp with time zone";
|
|
1640
|
-
readonly type: "string";
|
|
1641
|
-
};
|
|
1642
|
-
};
|
|
1643
|
-
readonly type: "object";
|
|
1644
|
-
};
|
|
1645
|
-
export declare const worker_api_keysSchema: {
|
|
1646
|
-
readonly required: readonly ["id", "worker_id", "key_value"];
|
|
1647
|
-
readonly properties: {
|
|
1648
|
-
readonly id: {
|
|
1649
|
-
readonly default: "gen_random_uuid()";
|
|
1650
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1651
|
-
readonly format: "uuid";
|
|
1652
|
-
readonly type: "string";
|
|
1653
|
-
};
|
|
1654
|
-
readonly worker_id: {
|
|
1655
|
-
readonly description: "Note:\nThis is a Foreign Key to `workers.id`.<fk table='workers' column='id'/>";
|
|
1656
|
-
readonly format: "text";
|
|
1657
|
-
readonly type: "string";
|
|
1658
|
-
};
|
|
1659
|
-
readonly key_value: {
|
|
1660
|
-
readonly format: "text";
|
|
1661
|
-
readonly type: "string";
|
|
1662
|
-
};
|
|
1663
|
-
readonly created_at: {
|
|
1664
|
-
readonly default: "now()";
|
|
1665
|
-
readonly format: "timestamp with time zone";
|
|
1666
|
-
readonly type: "string";
|
|
1667
|
-
};
|
|
1668
|
-
readonly last_used_at: {
|
|
1669
|
-
readonly format: "timestamp with time zone";
|
|
1670
|
-
readonly type: "string";
|
|
1671
|
-
};
|
|
1672
|
-
readonly revoked: {
|
|
1673
|
-
readonly default: false;
|
|
1674
|
-
readonly format: "boolean";
|
|
1675
|
-
readonly type: "boolean";
|
|
1676
|
-
};
|
|
1677
|
-
readonly name: {
|
|
1678
|
-
readonly format: "text";
|
|
1679
|
-
readonly type: "string";
|
|
1680
|
-
};
|
|
1681
|
-
};
|
|
1682
|
-
readonly type: "object";
|
|
1683
|
-
};
|
|
1684
|
-
export declare const platformsSchema: {
|
|
1685
|
-
readonly required: readonly ["id", "created_at", "name", "type", "is_active"];
|
|
1686
|
-
readonly properties: {
|
|
1687
|
-
readonly id: {
|
|
1688
|
-
readonly default: "gen_random_uuid()";
|
|
1689
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1690
|
-
readonly format: "uuid";
|
|
1691
|
-
readonly type: "string";
|
|
1692
|
-
};
|
|
1693
|
-
readonly created_at: {
|
|
1694
|
-
readonly default: "now()";
|
|
1695
|
-
readonly format: "timestamp with time zone";
|
|
1696
|
-
readonly type: "string";
|
|
1697
|
-
};
|
|
1698
|
-
readonly updated_at: {
|
|
1699
|
-
readonly default: "now()";
|
|
1700
|
-
readonly format: "timestamp with time zone";
|
|
1701
|
-
readonly type: "string";
|
|
1702
|
-
};
|
|
1703
|
-
readonly name: {
|
|
1704
|
-
readonly format: "text";
|
|
1705
|
-
readonly type: "string";
|
|
1706
|
-
};
|
|
1707
|
-
readonly display_name: {
|
|
1708
|
-
readonly format: "text";
|
|
1709
|
-
readonly type: "string";
|
|
1710
|
-
};
|
|
1711
|
-
readonly type: {
|
|
1712
|
-
readonly default: "web";
|
|
1713
|
-
readonly description: "平台类型 (例如: api, app, web, 或其他自定义类型)";
|
|
1714
|
-
readonly format: "text";
|
|
1715
|
-
readonly type: "string";
|
|
1716
|
-
};
|
|
1717
|
-
readonly base_url: {
|
|
1718
|
-
readonly format: "text";
|
|
1719
|
-
readonly type: "string";
|
|
1720
|
-
};
|
|
1721
|
-
readonly auth_config: {
|
|
1722
|
-
readonly format: "jsonb";
|
|
1723
|
-
};
|
|
1724
|
-
readonly is_active: {
|
|
1725
|
-
readonly default: true;
|
|
1726
|
-
readonly format: "boolean";
|
|
1727
|
-
readonly type: "boolean";
|
|
1728
|
-
};
|
|
1729
|
-
};
|
|
1730
|
-
readonly type: "object";
|
|
1731
|
-
};
|
|
1732
|
-
export declare const voltagent_memory_usersSchema: {
|
|
1733
|
-
readonly required: readonly ["id", "created_at", "updated_at"];
|
|
1734
|
-
readonly properties: {
|
|
1735
|
-
readonly id: {
|
|
1736
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1737
|
-
readonly format: "text";
|
|
1738
|
-
readonly type: "string";
|
|
1739
|
-
};
|
|
1740
|
-
readonly metadata: {
|
|
1741
|
-
readonly format: "jsonb";
|
|
1742
|
-
};
|
|
1743
|
-
readonly created_at: {
|
|
1744
|
-
readonly default: "timezone('utc'::text, now())";
|
|
1745
|
-
readonly format: "timestamp with time zone";
|
|
1746
|
-
readonly type: "string";
|
|
1747
|
-
};
|
|
1748
|
-
readonly updated_at: {
|
|
1749
|
-
readonly default: "timezone('utc'::text, now())";
|
|
1750
|
-
readonly format: "timestamp with time zone";
|
|
1751
|
-
readonly type: "string";
|
|
1752
|
-
};
|
|
1753
|
-
};
|
|
1754
|
-
readonly type: "object";
|
|
1755
|
-
};
|
|
1756
|
-
export declare const user_rolesSchema: {
|
|
1757
|
-
readonly description: "User-Role mapping table";
|
|
1758
|
-
readonly required: readonly ["id", "user_id", "role"];
|
|
1759
|
-
readonly properties: {
|
|
1760
|
-
readonly id: {
|
|
1761
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1762
|
-
readonly format: "bigint";
|
|
1763
|
-
readonly type: "integer";
|
|
1764
|
-
};
|
|
1765
|
-
readonly user_id: {
|
|
1766
|
-
readonly format: "uuid";
|
|
1767
|
-
readonly type: "string";
|
|
1768
|
-
};
|
|
1769
|
-
readonly role: {
|
|
1770
|
-
readonly enum: readonly ["admin", "moderator", "member"];
|
|
1771
|
-
readonly format: "public.app_role";
|
|
1772
|
-
readonly type: "string";
|
|
1773
|
-
};
|
|
1774
|
-
readonly created_at: {
|
|
1775
|
-
readonly default: "now()";
|
|
1776
|
-
readonly format: "timestamp with time zone";
|
|
1777
|
-
readonly type: "string";
|
|
1778
|
-
};
|
|
1779
|
-
};
|
|
1780
|
-
readonly type: "object";
|
|
1781
|
-
};
|
|
1782
|
-
export declare const service_tunnels_lajiSchema: {
|
|
1783
|
-
readonly description: "services 的隧道配置";
|
|
1784
|
-
readonly required: readonly ["id", "created_at", "updated_at", "service_id"];
|
|
1785
|
-
readonly properties: {
|
|
1786
|
-
readonly id: {
|
|
1787
|
-
readonly default: "gen_random_uuid()";
|
|
1788
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1789
|
-
readonly format: "uuid";
|
|
1790
|
-
readonly type: "string";
|
|
1791
|
-
};
|
|
1792
|
-
readonly created_at: {
|
|
1793
|
-
readonly default: "now()";
|
|
1794
|
-
readonly format: "timestamp with time zone";
|
|
1795
|
-
readonly type: "string";
|
|
1796
|
-
};
|
|
1797
|
-
readonly updated_at: {
|
|
1798
|
-
readonly default: "now()";
|
|
1799
|
-
readonly format: "timestamp with time zone";
|
|
1800
|
-
readonly type: "string";
|
|
1801
|
-
};
|
|
1802
|
-
readonly service_id: {
|
|
1803
|
-
readonly format: "uuid";
|
|
1804
|
-
readonly type: "string";
|
|
1805
|
-
};
|
|
1806
|
-
readonly cfd_token: {
|
|
1807
|
-
readonly format: "text";
|
|
1808
|
-
readonly type: "string";
|
|
1809
|
-
};
|
|
1810
|
-
readonly user_id: {
|
|
1811
|
-
readonly format: "uuid";
|
|
1812
|
-
readonly type: "string";
|
|
1813
|
-
};
|
|
1814
|
-
};
|
|
1815
|
-
readonly type: "object";
|
|
1816
|
-
};
|
|
1817
|
-
export declare const adk_eventsSchema: {
|
|
1818
|
-
readonly description: "adk_events";
|
|
1819
|
-
readonly required: readonly ["id", "created_at", "updated_at"];
|
|
1820
|
-
readonly properties: {
|
|
1821
|
-
readonly id: {
|
|
1822
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1823
|
-
readonly format: "text";
|
|
1824
|
-
readonly type: "string";
|
|
1825
|
-
};
|
|
1826
|
-
readonly created_at: {
|
|
1827
|
-
readonly default: "now()";
|
|
1828
|
-
readonly format: "timestamp with time zone";
|
|
1829
|
-
readonly type: "string";
|
|
1830
|
-
};
|
|
1831
|
-
readonly updated_at: {
|
|
1832
|
-
readonly default: "now()";
|
|
1833
|
-
readonly format: "timestamp with time zone";
|
|
1834
|
-
readonly type: "string";
|
|
1835
|
-
};
|
|
1836
|
-
readonly app_name: {
|
|
1837
|
-
readonly default: "text";
|
|
1838
|
-
readonly format: "text";
|
|
1839
|
-
readonly type: "string";
|
|
1840
|
-
};
|
|
1841
|
-
readonly user_id: {
|
|
1842
|
-
readonly format: "uuid";
|
|
1843
|
-
readonly type: "string";
|
|
1844
|
-
};
|
|
1845
|
-
readonly session_id: {
|
|
1846
|
-
readonly format: "text";
|
|
1847
|
-
readonly type: "string";
|
|
1848
|
-
};
|
|
1849
|
-
readonly invocation_id: {
|
|
1850
|
-
readonly format: "text";
|
|
1851
|
-
readonly type: "string";
|
|
1852
|
-
};
|
|
1853
|
-
readonly author: {
|
|
1854
|
-
readonly format: "text";
|
|
1855
|
-
readonly type: "string";
|
|
1856
|
-
};
|
|
1857
|
-
readonly actions: {
|
|
1858
|
-
readonly format: "jsonb";
|
|
1859
|
-
};
|
|
1860
|
-
readonly long_running_tool_ids_json: {
|
|
1861
|
-
readonly format: "jsonb";
|
|
1862
|
-
};
|
|
1863
|
-
readonly branch: {
|
|
1864
|
-
readonly format: "text";
|
|
1865
|
-
readonly type: "string";
|
|
1866
|
-
};
|
|
1867
|
-
readonly timestamp: {
|
|
1868
|
-
readonly format: "timestamp with time zone";
|
|
1869
|
-
readonly type: "string";
|
|
1870
|
-
};
|
|
1871
|
-
readonly content: {
|
|
1872
|
-
readonly format: "jsonb";
|
|
1873
|
-
};
|
|
1874
|
-
readonly grounding_metadata: {
|
|
1875
|
-
readonly format: "jsonb";
|
|
1876
|
-
};
|
|
1877
|
-
readonly custom_metadata: {
|
|
1878
|
-
readonly format: "jsonb";
|
|
1879
|
-
};
|
|
1880
|
-
readonly usage_metadata: {
|
|
1881
|
-
readonly format: "jsonb";
|
|
1882
|
-
};
|
|
1883
|
-
readonly citation_metadata: {
|
|
1884
|
-
readonly format: "jsonb";
|
|
1885
|
-
};
|
|
1886
|
-
readonly partial: {
|
|
1887
|
-
readonly format: "boolean";
|
|
1888
|
-
readonly type: "boolean";
|
|
1889
|
-
};
|
|
1890
|
-
readonly turn_complete: {
|
|
1891
|
-
readonly format: "boolean";
|
|
1892
|
-
readonly type: "boolean";
|
|
1893
|
-
};
|
|
1894
|
-
readonly error_code: {
|
|
1895
|
-
readonly format: "text";
|
|
1896
|
-
readonly type: "string";
|
|
1897
|
-
};
|
|
1898
|
-
readonly error_message: {
|
|
1899
|
-
readonly format: "text";
|
|
1900
|
-
readonly type: "string";
|
|
1901
|
-
};
|
|
1902
|
-
readonly interrupted: {
|
|
1903
|
-
readonly format: "boolean";
|
|
1904
|
-
readonly type: "boolean";
|
|
1905
|
-
};
|
|
1906
|
-
readonly input_transcription: {
|
|
1907
|
-
readonly format: "jsonb";
|
|
1908
|
-
};
|
|
1909
|
-
readonly output_transcription: {
|
|
1910
|
-
readonly format: "jsonb";
|
|
1911
|
-
};
|
|
1912
|
-
};
|
|
1913
|
-
readonly type: "object";
|
|
1914
|
-
};
|
|
1915
|
-
export declare const audit_projectsSchema: {
|
|
1916
|
-
readonly required: readonly ["id", "created_at", "updated_at", "user_id", "name"];
|
|
1917
|
-
readonly properties: {
|
|
1918
|
-
readonly id: {
|
|
1919
|
-
readonly default: "extensions.uuid_generate_v4()";
|
|
1920
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
1921
|
-
readonly format: "uuid";
|
|
1922
|
-
readonly type: "string";
|
|
1923
|
-
};
|
|
1924
|
-
readonly created_at: {
|
|
1925
|
-
readonly default: "now()";
|
|
1926
|
-
readonly format: "timestamp with time zone";
|
|
1927
|
-
readonly type: "string";
|
|
1928
|
-
};
|
|
1929
|
-
readonly updated_at: {
|
|
1930
|
-
readonly default: "now()";
|
|
1931
|
-
readonly format: "timestamp with time zone";
|
|
1932
|
-
readonly type: "string";
|
|
1933
|
-
};
|
|
1934
|
-
readonly user_id: {
|
|
1935
|
-
readonly description: "项目所有者用户ID, 必填";
|
|
1936
|
-
readonly format: "uuid";
|
|
1937
|
-
readonly type: "string";
|
|
1938
|
-
};
|
|
1939
|
-
readonly name: {
|
|
1940
|
-
readonly format: "text";
|
|
1941
|
-
readonly type: "string";
|
|
1942
|
-
};
|
|
1943
|
-
readonly target: {
|
|
1944
|
-
readonly format: "text";
|
|
1945
|
-
readonly type: "string";
|
|
1946
|
-
};
|
|
1947
|
-
readonly repo_url: {
|
|
1948
|
-
readonly format: "text";
|
|
1949
|
-
readonly type: "string";
|
|
1950
|
-
};
|
|
1951
|
-
readonly repo_branch: {
|
|
1952
|
-
readonly format: "text";
|
|
1953
|
-
readonly type: "string";
|
|
1954
|
-
};
|
|
1955
|
-
readonly config: {
|
|
1956
|
-
readonly description: "项目配置 (JSON), 包含 GitHub 集成等扩展配置";
|
|
1957
|
-
readonly format: "jsonb";
|
|
1958
|
-
};
|
|
1959
|
-
readonly worker_id: {
|
|
1960
|
-
readonly description: "关联的 Worker 实例 ID\n\nNote:\nThis is a Foreign Key to `workers.id`.<fk table='workers' column='id'/>";
|
|
1961
|
-
readonly format: "text";
|
|
1962
|
-
readonly type: "string";
|
|
1963
|
-
};
|
|
1964
|
-
};
|
|
1965
|
-
readonly type: "object";
|
|
1966
|
-
};
|
|
1967
|
-
export declare const agentsSchema: {
|
|
1968
|
-
readonly description: "ai agents";
|
|
1969
|
-
readonly required: readonly ["id", "created_at", "updated_at"];
|
|
1970
|
-
readonly properties: {
|
|
1971
|
-
readonly id: {
|
|
1972
|
-
readonly description: "agent 唯一名称, 同时也是agent 名称,通常表示agent 的类型\n\nNote:\nThis is a Primary Key.<pk/>";
|
|
1973
|
-
readonly format: "text";
|
|
1974
|
-
readonly type: "string";
|
|
1975
|
-
};
|
|
1976
|
-
readonly created_at: {
|
|
1977
|
-
readonly default: "now()";
|
|
1978
|
-
readonly format: "timestamp with time zone";
|
|
1979
|
-
readonly type: "string";
|
|
1980
|
-
};
|
|
1981
|
-
readonly updated_at: {
|
|
1982
|
-
readonly default: "now()";
|
|
1983
|
-
readonly format: "timestamp with time zone";
|
|
1984
|
-
readonly type: "string";
|
|
1985
|
-
};
|
|
1986
|
-
readonly description: {
|
|
1987
|
-
readonly description: "agent 友好描述,一般用于展示,不影响agent运行";
|
|
1988
|
-
readonly format: "text";
|
|
1989
|
-
readonly type: "string";
|
|
1990
|
-
};
|
|
1991
|
-
readonly instruction: {
|
|
1992
|
-
readonly description: "agent 指令,通常对应 system prompt";
|
|
1993
|
-
readonly format: "text";
|
|
1994
|
-
readonly type: "string";
|
|
1995
|
-
};
|
|
1996
|
-
readonly max_step: {
|
|
1997
|
-
readonly description: "总步骤数限制";
|
|
1998
|
-
readonly format: "integer";
|
|
1999
|
-
readonly type: "integer";
|
|
2000
|
-
};
|
|
2001
|
-
readonly runtime: {
|
|
2002
|
-
readonly description: "运行时, 例如: python-adk, aisdk-agent-v5,aiadk";
|
|
2003
|
-
readonly format: "text";
|
|
2004
|
-
readonly type: "string";
|
|
2005
|
-
};
|
|
2006
|
-
readonly tools: {
|
|
2007
|
-
readonly description: "以逗号风格的多个工具名称,例如\"web_search,rag1,bash,ssh\"";
|
|
2008
|
-
readonly format: "text";
|
|
2009
|
-
readonly type: "string";
|
|
2010
|
-
};
|
|
2011
|
-
readonly config: {
|
|
2012
|
-
readonly description: "额外配置信息, 对应特定agent附加的额外配置信息";
|
|
2013
|
-
readonly format: "jsonb";
|
|
2014
|
-
};
|
|
2015
|
-
};
|
|
2016
|
-
readonly type: "object";
|
|
2017
|
-
};
|
|
2018
|
-
export declare const voltagent_memory_conversationsSchema: {
|
|
2019
|
-
readonly required: readonly ["id", "resource_id", "user_id", "title", "metadata", "created_at", "updated_at"];
|
|
2020
|
-
readonly properties: {
|
|
2021
|
-
readonly id: {
|
|
2022
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
2023
|
-
readonly format: "text";
|
|
2024
|
-
readonly type: "string";
|
|
2025
|
-
};
|
|
2026
|
-
readonly resource_id: {
|
|
2027
|
-
readonly format: "text";
|
|
2028
|
-
readonly type: "string";
|
|
2029
|
-
};
|
|
2030
|
-
readonly user_id: {
|
|
2031
|
-
readonly format: "text";
|
|
2032
|
-
readonly type: "string";
|
|
2033
|
-
};
|
|
2034
|
-
readonly title: {
|
|
2035
|
-
readonly format: "text";
|
|
2036
|
-
readonly type: "string";
|
|
2037
|
-
};
|
|
2038
|
-
readonly metadata: {
|
|
2039
|
-
readonly format: "jsonb";
|
|
2040
|
-
};
|
|
2041
|
-
readonly created_at: {
|
|
2042
|
-
readonly default: "timezone('utc'::text, now())";
|
|
2043
|
-
readonly format: "timestamp with time zone";
|
|
2044
|
-
readonly type: "string";
|
|
2045
|
-
};
|
|
2046
|
-
readonly updated_at: {
|
|
2047
|
-
readonly default: "timezone('utc'::text, now())";
|
|
2048
|
-
readonly format: "timestamp with time zone";
|
|
2049
|
-
readonly type: "string";
|
|
2050
|
-
};
|
|
2051
|
-
};
|
|
2052
|
-
readonly type: "object";
|
|
2053
|
-
};
|
|
2054
|
-
export declare const adk_agentsSchema: {
|
|
2055
|
-
readonly description: "ADK Agent 应用列表";
|
|
2056
|
-
readonly required: readonly ["name"];
|
|
2057
|
-
readonly properties: {
|
|
2058
|
-
readonly name: {
|
|
2059
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
2060
|
-
readonly format: "text";
|
|
2061
|
-
readonly type: "string";
|
|
2062
|
-
};
|
|
2063
|
-
readonly description: {
|
|
2064
|
-
readonly format: "text";
|
|
2065
|
-
readonly type: "string";
|
|
2066
|
-
};
|
|
2067
|
-
readonly avatar_url: {
|
|
2068
|
-
readonly format: "text";
|
|
2069
|
-
readonly type: "string";
|
|
2070
|
-
};
|
|
2071
|
-
readonly created_at: {
|
|
2072
|
-
readonly default: "now()";
|
|
2073
|
-
readonly format: "timestamp with time zone";
|
|
2074
|
-
readonly type: "string";
|
|
2075
|
-
};
|
|
2076
|
-
readonly updated_at: {
|
|
2077
|
-
readonly default: "now()";
|
|
2078
|
-
readonly format: "timestamp with time zone";
|
|
2079
|
-
readonly type: "string";
|
|
2080
|
-
};
|
|
2081
|
-
};
|
|
2082
|
-
readonly type: "object";
|
|
2083
|
-
};
|
|
2084
|
-
export declare const workflow_stepsSchema: {
|
|
2085
|
-
readonly required: readonly ["id", "title"];
|
|
2086
|
-
readonly properties: {
|
|
2087
|
-
readonly id: {
|
|
2088
|
-
readonly default: "gen_random_uuid()";
|
|
2089
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
2090
|
-
readonly format: "uuid";
|
|
2091
|
-
readonly type: "string";
|
|
2092
|
-
};
|
|
2093
|
-
readonly workflow_id: {
|
|
2094
|
-
readonly description: "Note:\nThis is a Foreign Key to `workflow_instances.id`.<fk table='workflow_instances' column='id'/>";
|
|
2095
|
-
readonly format: "uuid";
|
|
2096
|
-
readonly type: "string";
|
|
2097
|
-
};
|
|
2098
|
-
readonly step_index: {
|
|
2099
|
-
readonly format: "integer";
|
|
2100
|
-
readonly type: "integer";
|
|
2101
|
-
};
|
|
2102
|
-
readonly title: {
|
|
2103
|
-
readonly format: "text";
|
|
2104
|
-
readonly type: "string";
|
|
2105
|
-
};
|
|
2106
|
-
readonly status: {
|
|
2107
|
-
readonly default: "running";
|
|
2108
|
-
readonly format: "text";
|
|
2109
|
-
readonly type: "string";
|
|
2110
|
-
};
|
|
2111
|
-
readonly logs: {
|
|
2112
|
-
readonly format: "text";
|
|
2113
|
-
readonly type: "string";
|
|
2114
|
-
};
|
|
2115
|
-
readonly output_data: {
|
|
2116
|
-
readonly format: "jsonb";
|
|
2117
|
-
};
|
|
2118
|
-
readonly started_at: {
|
|
2119
|
-
readonly default: "now()";
|
|
2120
|
-
readonly format: "timestamp with time zone";
|
|
2121
|
-
readonly type: "string";
|
|
2122
|
-
};
|
|
2123
|
-
readonly completed_at: {
|
|
2124
|
-
readonly format: "timestamp with time zone";
|
|
2125
|
-
readonly type: "string";
|
|
2126
|
-
};
|
|
2127
|
-
readonly cell_output: {
|
|
2128
|
-
readonly format: "jsonb";
|
|
2129
|
-
};
|
|
2130
|
-
readonly cell_source: {
|
|
2131
|
-
readonly format: "text";
|
|
2132
|
-
readonly type: "string";
|
|
2133
|
-
};
|
|
2134
|
-
};
|
|
2135
|
-
readonly type: "object";
|
|
2136
|
-
};
|
|
2137
|
-
export declare const adk_artifactsSchema: {
|
|
2138
|
-
readonly required: readonly ["id", "app_name", "user_id", "filename", "version"];
|
|
2139
|
-
readonly properties: {
|
|
2140
|
-
readonly id: {
|
|
2141
|
-
readonly default: "gen_random_uuid()";
|
|
2142
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
2143
|
-
readonly format: "uuid";
|
|
2144
|
-
readonly type: "string";
|
|
2145
|
-
};
|
|
2146
|
-
readonly app_name: {
|
|
2147
|
-
readonly format: "text";
|
|
2148
|
-
readonly type: "string";
|
|
2149
|
-
};
|
|
2150
|
-
readonly user_id: {
|
|
2151
|
-
readonly format: "uuid";
|
|
2152
|
-
readonly type: "string";
|
|
2153
|
-
};
|
|
2154
|
-
readonly session_id: {
|
|
2155
|
-
readonly format: "text";
|
|
2156
|
-
readonly type: "string";
|
|
2157
|
-
};
|
|
2158
|
-
readonly filename: {
|
|
2159
|
-
readonly format: "text";
|
|
2160
|
-
readonly type: "string";
|
|
2161
|
-
};
|
|
2162
|
-
readonly version: {
|
|
2163
|
-
readonly format: "integer";
|
|
2164
|
-
readonly type: "integer";
|
|
2165
|
-
};
|
|
2166
|
-
readonly mime_type: {
|
|
2167
|
-
readonly format: "text";
|
|
2168
|
-
readonly type: "string";
|
|
2169
|
-
};
|
|
2170
|
-
readonly data: {
|
|
2171
|
-
readonly format: "jsonb";
|
|
2172
|
-
};
|
|
2173
|
-
readonly canonical_uri: {
|
|
2174
|
-
readonly format: "text";
|
|
2175
|
-
readonly type: "string";
|
|
2176
|
-
};
|
|
2177
|
-
readonly custom_metadata: {
|
|
2178
|
-
readonly format: "jsonb";
|
|
2179
|
-
};
|
|
2180
|
-
readonly created_at: {
|
|
2181
|
-
readonly default: "now()";
|
|
2182
|
-
readonly format: "timestamp with time zone";
|
|
2183
|
-
readonly type: "string";
|
|
2184
|
-
};
|
|
2185
|
-
};
|
|
2186
|
-
readonly type: "object";
|
|
2187
|
-
};
|
|
2188
|
-
export declare const eventsSchema: {
|
|
2189
|
-
readonly description: "传入事件";
|
|
2190
|
-
readonly required: readonly ["id", "created_at", "type"];
|
|
2191
|
-
readonly properties: {
|
|
2192
|
-
readonly id: {
|
|
2193
|
-
readonly default: "gen_random_uuid()";
|
|
2194
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
2195
|
-
readonly format: "uuid";
|
|
2196
|
-
readonly type: "string";
|
|
2197
|
-
};
|
|
2198
|
-
readonly created_at: {
|
|
2199
|
-
readonly default: "now()";
|
|
2200
|
-
readonly format: "timestamp with time zone";
|
|
2201
|
-
readonly type: "string";
|
|
2202
|
-
};
|
|
2203
|
-
readonly type: {
|
|
2204
|
-
readonly format: "text";
|
|
2205
|
-
readonly type: "string";
|
|
2206
|
-
};
|
|
2207
|
-
readonly data: {
|
|
2208
|
-
readonly format: "jsonb";
|
|
2209
|
-
};
|
|
2210
|
-
readonly user_id: {
|
|
2211
|
-
readonly format: "uuid";
|
|
2212
|
-
readonly type: "string";
|
|
2213
|
-
};
|
|
2214
|
-
};
|
|
2215
|
-
readonly type: "object";
|
|
2216
|
-
};
|
|
2217
|
-
export declare const voltagent_memory_messagesSchema: {
|
|
2218
|
-
readonly required: readonly ["conversation_id", "message_id", "user_id", "role", "created_at"];
|
|
2219
|
-
readonly properties: {
|
|
2220
|
-
readonly conversation_id: {
|
|
2221
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `voltagent_memory_conversations.id`.<fk table='voltagent_memory_conversations' column='id'/>";
|
|
2222
|
-
readonly format: "text";
|
|
2223
|
-
readonly type: "string";
|
|
2224
|
-
};
|
|
2225
|
-
readonly message_id: {
|
|
2226
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
2227
|
-
readonly format: "text";
|
|
2228
|
-
readonly type: "string";
|
|
2229
|
-
};
|
|
2230
|
-
readonly user_id: {
|
|
2231
|
-
readonly format: "text";
|
|
2232
|
-
readonly type: "string";
|
|
2233
|
-
};
|
|
2234
|
-
readonly role: {
|
|
2235
|
-
readonly format: "text";
|
|
2236
|
-
readonly type: "string";
|
|
2237
|
-
};
|
|
2238
|
-
readonly parts: {
|
|
2239
|
-
readonly format: "jsonb";
|
|
2240
|
-
};
|
|
2241
|
-
readonly metadata: {
|
|
2242
|
-
readonly format: "jsonb";
|
|
2243
|
-
};
|
|
2244
|
-
readonly format_version: {
|
|
2245
|
-
readonly default: 2;
|
|
2246
|
-
readonly format: "integer";
|
|
2247
|
-
readonly type: "integer";
|
|
2248
|
-
};
|
|
2249
|
-
readonly created_at: {
|
|
2250
|
-
readonly default: "timezone('utc'::text, now())";
|
|
2251
|
-
readonly format: "timestamp with time zone";
|
|
2252
|
-
readonly type: "string";
|
|
2253
|
-
};
|
|
2254
|
-
};
|
|
2255
|
-
readonly type: "object";
|
|
2256
|
-
};
|
|
2257
|
-
export declare const adk_sessionsSchema: {
|
|
2258
|
-
readonly description: "adk_sessions";
|
|
2259
|
-
readonly required: readonly ["id", "created_at", "user_id", "app_name", "state"];
|
|
2260
|
-
readonly properties: {
|
|
2261
|
-
readonly id: {
|
|
2262
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
2263
|
-
readonly format: "text";
|
|
2264
|
-
readonly type: "string";
|
|
2265
|
-
};
|
|
2266
|
-
readonly created_at: {
|
|
2267
|
-
readonly format: "timestamp with time zone";
|
|
2268
|
-
readonly type: "string";
|
|
2269
|
-
};
|
|
2270
|
-
readonly updated_at: {
|
|
2271
|
-
readonly format: "timestamp with time zone";
|
|
2272
|
-
readonly type: "string";
|
|
2273
|
-
};
|
|
2274
|
-
readonly user_id: {
|
|
2275
|
-
readonly format: "uuid";
|
|
2276
|
-
readonly type: "string";
|
|
2277
|
-
};
|
|
2278
|
-
readonly app_name: {
|
|
2279
|
-
readonly format: "text";
|
|
2280
|
-
readonly type: "string";
|
|
2281
|
-
};
|
|
2282
|
-
readonly state: {
|
|
2283
|
-
readonly format: "jsonb";
|
|
2284
|
-
};
|
|
2285
|
-
};
|
|
2286
|
-
readonly type: "object";
|
|
2287
|
-
};
|
|
2288
|
-
export declare const sys_logsSchema: {
|
|
2289
|
-
readonly description: "系统日志";
|
|
2290
|
-
readonly required: readonly ["id", "created_at"];
|
|
2291
|
-
readonly properties: {
|
|
2292
|
-
readonly id: {
|
|
2293
|
-
readonly description: "Note:\nThis is a Primary Key.<pk/>";
|
|
2294
|
-
readonly format: "bigint";
|
|
2295
|
-
readonly type: "integer";
|
|
2296
|
-
};
|
|
2297
|
-
readonly created_at: {
|
|
2298
|
-
readonly default: "now()";
|
|
2299
|
-
readonly format: "timestamp with time zone";
|
|
2300
|
-
readonly type: "string";
|
|
2301
|
-
};
|
|
2302
|
-
readonly text: {
|
|
2303
|
-
readonly format: "text";
|
|
2304
|
-
readonly type: "string";
|
|
2305
|
-
};
|
|
2306
|
-
readonly level: {
|
|
2307
|
-
readonly format: "smallint";
|
|
2308
|
-
readonly type: "integer";
|
|
2309
|
-
};
|
|
2310
|
-
readonly module: {
|
|
2311
|
-
readonly default: "sys";
|
|
2312
|
-
readonly format: "text";
|
|
2313
|
-
readonly type: "string";
|
|
2314
|
-
};
|
|
2315
|
-
readonly user_id: {
|
|
2316
|
-
readonly format: "uuid";
|
|
2317
|
-
readonly type: "string";
|
|
2318
|
-
};
|
|
2319
|
-
};
|
|
2320
|
-
readonly type: "object";
|
|
2321
|
-
};
|
|
2322
|
-
//# sourceMappingURL=schemas.gen.d.ts.map
|