@naisys/hub-database 3.0.0-beta.4 → 3.0.0-beta.6
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/package.json +6 -4
- package/dist/dbConfig.d.ts +0 -2
- package/dist/generated/prisma/browser.d.ts +0 -80
- package/dist/generated/prisma/client.d.ts +0 -99
- package/dist/generated/prisma/commonInputTypes.d.ts +0 -758
- package/dist/generated/prisma/enums.d.ts +0 -57
- package/dist/generated/prisma/internal/class.d.ts +0 -285
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +0 -1777
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +0 -223
- package/dist/generated/prisma/models/attachments.d.ts +0 -1624
- package/dist/generated/prisma/models/config_revisions.d.ts +0 -1320
- package/dist/generated/prisma/models/context_log.d.ts +0 -1889
- package/dist/generated/prisma/models/costs.d.ts +0 -1834
- package/dist/generated/prisma/models/hosts.d.ts +0 -1892
- package/dist/generated/prisma/models/mail_attachments.d.ts +0 -1244
- package/dist/generated/prisma/models/mail_messages.d.ts +0 -1721
- package/dist/generated/prisma/models/mail_recipients.d.ts +0 -1409
- package/dist/generated/prisma/models/models.d.ts +0 -1175
- package/dist/generated/prisma/models/run_session.d.ts +0 -1894
- package/dist/generated/prisma/models/schema_version.d.ts +0 -984
- package/dist/generated/prisma/models/user_hosts.d.ts +0 -1244
- package/dist/generated/prisma/models/user_notifications.d.ts +0 -1543
- package/dist/generated/prisma/models/users.d.ts +0 -3229
- package/dist/generated/prisma/models/variables.d.ts +0 -1052
- package/dist/generated/prisma/models.d.ts +0 -17
- package/dist/hubDatabaseService.d.ts +0 -7
- package/dist/hubSessionService.d.ts +0 -41
- package/dist/index.d.ts +0 -8
- package/dist/prismaClient.d.ts +0 -7
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import * as runtime from "@prisma/client/runtime/index-browser";
|
|
2
|
-
export type * from '../models.js';
|
|
3
|
-
export type * from './prismaNamespace.js';
|
|
4
|
-
export declare const Decimal: typeof runtime.Decimal;
|
|
5
|
-
export declare const NullTypes: {
|
|
6
|
-
DbNull: (new (secret: never) => typeof runtime.DbNull);
|
|
7
|
-
JsonNull: (new (secret: never) => typeof runtime.JsonNull);
|
|
8
|
-
AnyNull: (new (secret: never) => typeof runtime.AnyNull);
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
12
|
-
*
|
|
13
|
-
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
14
|
-
*/
|
|
15
|
-
export declare const DbNull: import("@prisma/client-runtime-utils").DbNullClass;
|
|
16
|
-
/**
|
|
17
|
-
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
18
|
-
*
|
|
19
|
-
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
20
|
-
*/
|
|
21
|
-
export declare const JsonNull: import("@prisma/client-runtime-utils").JsonNullClass;
|
|
22
|
-
/**
|
|
23
|
-
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
24
|
-
*
|
|
25
|
-
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
26
|
-
*/
|
|
27
|
-
export declare const AnyNull: import("@prisma/client-runtime-utils").AnyNullClass;
|
|
28
|
-
export declare const ModelName: {
|
|
29
|
-
readonly context_log: "context_log";
|
|
30
|
-
readonly costs: "costs";
|
|
31
|
-
readonly mail_messages: "mail_messages";
|
|
32
|
-
readonly attachments: "attachments";
|
|
33
|
-
readonly mail_attachments: "mail_attachments";
|
|
34
|
-
readonly mail_recipients: "mail_recipients";
|
|
35
|
-
readonly users: "users";
|
|
36
|
-
readonly user_notifications: "user_notifications";
|
|
37
|
-
readonly user_hosts: "user_hosts";
|
|
38
|
-
readonly run_session: "run_session";
|
|
39
|
-
readonly schema_version: "schema_version";
|
|
40
|
-
readonly hosts: "hosts";
|
|
41
|
-
readonly config_revisions: "config_revisions";
|
|
42
|
-
readonly variables: "variables";
|
|
43
|
-
readonly models: "models";
|
|
44
|
-
};
|
|
45
|
-
export type ModelName = (typeof ModelName)[keyof typeof ModelName];
|
|
46
|
-
export declare const TransactionIsolationLevel: {
|
|
47
|
-
readonly Serializable: "Serializable";
|
|
48
|
-
};
|
|
49
|
-
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
|
|
50
|
-
export declare const Context_logScalarFieldEnum: {
|
|
51
|
-
readonly id: "id";
|
|
52
|
-
readonly user_id: "user_id";
|
|
53
|
-
readonly run_id: "run_id";
|
|
54
|
-
readonly session_id: "session_id";
|
|
55
|
-
readonly host_id: "host_id";
|
|
56
|
-
readonly role: "role";
|
|
57
|
-
readonly source: "source";
|
|
58
|
-
readonly type: "type";
|
|
59
|
-
readonly message: "message";
|
|
60
|
-
readonly attachment_id: "attachment_id";
|
|
61
|
-
readonly created_at: "created_at";
|
|
62
|
-
};
|
|
63
|
-
export type Context_logScalarFieldEnum = (typeof Context_logScalarFieldEnum)[keyof typeof Context_logScalarFieldEnum];
|
|
64
|
-
export declare const CostsScalarFieldEnum: {
|
|
65
|
-
readonly id: "id";
|
|
66
|
-
readonly user_id: "user_id";
|
|
67
|
-
readonly run_id: "run_id";
|
|
68
|
-
readonly session_id: "session_id";
|
|
69
|
-
readonly host_id: "host_id";
|
|
70
|
-
readonly source: "source";
|
|
71
|
-
readonly model: "model";
|
|
72
|
-
readonly cost: "cost";
|
|
73
|
-
readonly input_tokens: "input_tokens";
|
|
74
|
-
readonly output_tokens: "output_tokens";
|
|
75
|
-
readonly cache_write_tokens: "cache_write_tokens";
|
|
76
|
-
readonly cache_read_tokens: "cache_read_tokens";
|
|
77
|
-
readonly created_at: "created_at";
|
|
78
|
-
};
|
|
79
|
-
export type CostsScalarFieldEnum = (typeof CostsScalarFieldEnum)[keyof typeof CostsScalarFieldEnum];
|
|
80
|
-
export declare const Mail_messagesScalarFieldEnum: {
|
|
81
|
-
readonly id: "id";
|
|
82
|
-
readonly from_user_id: "from_user_id";
|
|
83
|
-
readonly host_id: "host_id";
|
|
84
|
-
readonly kind: "kind";
|
|
85
|
-
readonly participants: "participants";
|
|
86
|
-
readonly subject: "subject";
|
|
87
|
-
readonly body: "body";
|
|
88
|
-
readonly created_at: "created_at";
|
|
89
|
-
};
|
|
90
|
-
export type Mail_messagesScalarFieldEnum = (typeof Mail_messagesScalarFieldEnum)[keyof typeof Mail_messagesScalarFieldEnum];
|
|
91
|
-
export declare const AttachmentsScalarFieldEnum: {
|
|
92
|
-
readonly id: "id";
|
|
93
|
-
readonly public_id: "public_id";
|
|
94
|
-
readonly filepath: "filepath";
|
|
95
|
-
readonly filename: "filename";
|
|
96
|
-
readonly file_size: "file_size";
|
|
97
|
-
readonly file_hash: "file_hash";
|
|
98
|
-
readonly purpose: "purpose";
|
|
99
|
-
readonly uploaded_by: "uploaded_by";
|
|
100
|
-
readonly created_at: "created_at";
|
|
101
|
-
};
|
|
102
|
-
export type AttachmentsScalarFieldEnum = (typeof AttachmentsScalarFieldEnum)[keyof typeof AttachmentsScalarFieldEnum];
|
|
103
|
-
export declare const Mail_attachmentsScalarFieldEnum: {
|
|
104
|
-
readonly message_id: "message_id";
|
|
105
|
-
readonly attachment_id: "attachment_id";
|
|
106
|
-
readonly created_at: "created_at";
|
|
107
|
-
};
|
|
108
|
-
export type Mail_attachmentsScalarFieldEnum = (typeof Mail_attachmentsScalarFieldEnum)[keyof typeof Mail_attachmentsScalarFieldEnum];
|
|
109
|
-
export declare const Mail_recipientsScalarFieldEnum: {
|
|
110
|
-
readonly id: "id";
|
|
111
|
-
readonly message_id: "message_id";
|
|
112
|
-
readonly user_id: "user_id";
|
|
113
|
-
readonly type: "type";
|
|
114
|
-
readonly read_at: "read_at";
|
|
115
|
-
readonly archived_at: "archived_at";
|
|
116
|
-
readonly created_at: "created_at";
|
|
117
|
-
};
|
|
118
|
-
export type Mail_recipientsScalarFieldEnum = (typeof Mail_recipientsScalarFieldEnum)[keyof typeof Mail_recipientsScalarFieldEnum];
|
|
119
|
-
export declare const UsersScalarFieldEnum: {
|
|
120
|
-
readonly id: "id";
|
|
121
|
-
readonly uuid: "uuid";
|
|
122
|
-
readonly username: "username";
|
|
123
|
-
readonly title: "title";
|
|
124
|
-
readonly api_key: "api_key";
|
|
125
|
-
readonly lead_user_id: "lead_user_id";
|
|
126
|
-
readonly config: "config";
|
|
127
|
-
readonly created_at: "created_at";
|
|
128
|
-
readonly updated_at: "updated_at";
|
|
129
|
-
readonly enabled: "enabled";
|
|
130
|
-
readonly archived: "archived";
|
|
131
|
-
};
|
|
132
|
-
export type UsersScalarFieldEnum = (typeof UsersScalarFieldEnum)[keyof typeof UsersScalarFieldEnum];
|
|
133
|
-
export declare const User_notificationsScalarFieldEnum: {
|
|
134
|
-
readonly user_id: "user_id";
|
|
135
|
-
readonly latest_host_id: "latest_host_id";
|
|
136
|
-
readonly latest_log_id: "latest_log_id";
|
|
137
|
-
readonly latest_mail_id: "latest_mail_id";
|
|
138
|
-
readonly latest_chat_id: "latest_chat_id";
|
|
139
|
-
readonly last_active: "last_active";
|
|
140
|
-
readonly cost_suspended_reason: "cost_suspended_reason";
|
|
141
|
-
readonly spend_limit_reset_at: "spend_limit_reset_at";
|
|
142
|
-
readonly budget_left: "budget_left";
|
|
143
|
-
readonly updated_at: "updated_at";
|
|
144
|
-
};
|
|
145
|
-
export type User_notificationsScalarFieldEnum = (typeof User_notificationsScalarFieldEnum)[keyof typeof User_notificationsScalarFieldEnum];
|
|
146
|
-
export declare const User_hostsScalarFieldEnum: {
|
|
147
|
-
readonly user_id: "user_id";
|
|
148
|
-
readonly host_id: "host_id";
|
|
149
|
-
readonly created_at: "created_at";
|
|
150
|
-
};
|
|
151
|
-
export type User_hostsScalarFieldEnum = (typeof User_hostsScalarFieldEnum)[keyof typeof User_hostsScalarFieldEnum];
|
|
152
|
-
export declare const Run_sessionScalarFieldEnum: {
|
|
153
|
-
readonly user_id: "user_id";
|
|
154
|
-
readonly run_id: "run_id";
|
|
155
|
-
readonly session_id: "session_id";
|
|
156
|
-
readonly host_id: "host_id";
|
|
157
|
-
readonly last_active: "last_active";
|
|
158
|
-
readonly model_name: "model_name";
|
|
159
|
-
readonly latest_log_id: "latest_log_id";
|
|
160
|
-
readonly total_lines: "total_lines";
|
|
161
|
-
readonly total_cost: "total_cost";
|
|
162
|
-
readonly created_at: "created_at";
|
|
163
|
-
readonly updated_at: "updated_at";
|
|
164
|
-
};
|
|
165
|
-
export type Run_sessionScalarFieldEnum = (typeof Run_sessionScalarFieldEnum)[keyof typeof Run_sessionScalarFieldEnum];
|
|
166
|
-
export declare const Schema_versionScalarFieldEnum: {
|
|
167
|
-
readonly id: "id";
|
|
168
|
-
readonly version: "version";
|
|
169
|
-
readonly updated: "updated";
|
|
170
|
-
};
|
|
171
|
-
export type Schema_versionScalarFieldEnum = (typeof Schema_versionScalarFieldEnum)[keyof typeof Schema_versionScalarFieldEnum];
|
|
172
|
-
export declare const HostsScalarFieldEnum: {
|
|
173
|
-
readonly id: "id";
|
|
174
|
-
readonly name: "name";
|
|
175
|
-
readonly restricted: "restricted";
|
|
176
|
-
readonly host_type: "host_type";
|
|
177
|
-
readonly last_ip: "last_ip";
|
|
178
|
-
readonly last_active: "last_active";
|
|
179
|
-
readonly created_at: "created_at";
|
|
180
|
-
};
|
|
181
|
-
export type HostsScalarFieldEnum = (typeof HostsScalarFieldEnum)[keyof typeof HostsScalarFieldEnum];
|
|
182
|
-
export declare const Config_revisionsScalarFieldEnum: {
|
|
183
|
-
readonly id: "id";
|
|
184
|
-
readonly user_id: "user_id";
|
|
185
|
-
readonly config: "config";
|
|
186
|
-
readonly changed_by_id: "changed_by_id";
|
|
187
|
-
readonly created_at: "created_at";
|
|
188
|
-
};
|
|
189
|
-
export type Config_revisionsScalarFieldEnum = (typeof Config_revisionsScalarFieldEnum)[keyof typeof Config_revisionsScalarFieldEnum];
|
|
190
|
-
export declare const VariablesScalarFieldEnum: {
|
|
191
|
-
readonly key: "key";
|
|
192
|
-
readonly value: "value";
|
|
193
|
-
readonly export_to_shell: "export_to_shell";
|
|
194
|
-
readonly created_by: "created_by";
|
|
195
|
-
readonly updated_by: "updated_by";
|
|
196
|
-
readonly created_at: "created_at";
|
|
197
|
-
readonly updated_at: "updated_at";
|
|
198
|
-
};
|
|
199
|
-
export type VariablesScalarFieldEnum = (typeof VariablesScalarFieldEnum)[keyof typeof VariablesScalarFieldEnum];
|
|
200
|
-
export declare const ModelsScalarFieldEnum: {
|
|
201
|
-
readonly id: "id";
|
|
202
|
-
readonly key: "key";
|
|
203
|
-
readonly type: "type";
|
|
204
|
-
readonly label: "label";
|
|
205
|
-
readonly version_name: "version_name";
|
|
206
|
-
readonly is_builtin: "is_builtin";
|
|
207
|
-
readonly is_custom: "is_custom";
|
|
208
|
-
readonly meta: "meta";
|
|
209
|
-
readonly created_at: "created_at";
|
|
210
|
-
readonly updated_at: "updated_at";
|
|
211
|
-
};
|
|
212
|
-
export type ModelsScalarFieldEnum = (typeof ModelsScalarFieldEnum)[keyof typeof ModelsScalarFieldEnum];
|
|
213
|
-
export declare const SortOrder: {
|
|
214
|
-
readonly asc: "asc";
|
|
215
|
-
readonly desc: "desc";
|
|
216
|
-
};
|
|
217
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
218
|
-
export declare const NullsOrder: {
|
|
219
|
-
readonly first: "first";
|
|
220
|
-
readonly last: "last";
|
|
221
|
-
};
|
|
222
|
-
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder];
|
|
223
|
-
//# sourceMappingURL=prismaNamespaceBrowser.d.ts.map
|