@naisys/supervisor-database 3.0.0-beta.4 → 3.0.0-beta.5
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/dbConfig.js +2 -2
- package/dist/generated/prisma/browser.js +4 -4
- package/dist/generated/prisma/client.js +5 -5
- package/dist/generated/prisma/commonInputTypes.js +1 -1
- package/dist/generated/prisma/enums.js +12 -12
- package/dist/generated/prisma/internal/class.js +36 -28
- package/dist/generated/prisma/internal/prismaNamespace.js +42 -39
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +34 -34
- package/dist/index.js +17 -2
- package/dist/migrationHelper.js +5 -5
- package/dist/prismaClient.js +12 -12
- package/dist/sessionService.js +135 -139
- package/package.json +6 -4
- package/dist/dbConfig.d.ts +0 -5
- package/dist/generated/prisma/browser.d.ts +0 -25
- package/dist/generated/prisma/client.d.ts +0 -44
- package/dist/generated/prisma/commonInputTypes.d.ts +0 -341
- package/dist/generated/prisma/enums.d.ts +0 -11
- package/dist/generated/prisma/internal/class.d.ts +0 -164
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +0 -775
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +0 -82
- package/dist/generated/prisma/models/SchemaVersion.d.ts +0 -984
- package/dist/generated/prisma/models/Session.d.ts +0 -1212
- package/dist/generated/prisma/models/User.d.ts +0 -1546
- package/dist/generated/prisma/models/UserPermission.d.ts +0 -1354
- package/dist/generated/prisma/models.d.ts +0 -6
- package/dist/index.d.ts +0 -8
- package/dist/migrationHelper.d.ts +0 -2
- package/dist/prismaClient.d.ts +0 -7
- package/dist/sessionService.d.ts +0 -88
|
@@ -1,341 +0,0 @@
|
|
|
1
|
-
import * as $Enums from "./enums.js";
|
|
2
|
-
import type * as Prisma from "./internal/prismaNamespace.js";
|
|
3
|
-
export type IntFilter<$PrismaModel = never> = {
|
|
4
|
-
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
5
|
-
in?: number[];
|
|
6
|
-
notIn?: number[];
|
|
7
|
-
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
8
|
-
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
9
|
-
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
10
|
-
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
11
|
-
not?: Prisma.NestedIntFilter<$PrismaModel> | number;
|
|
12
|
-
};
|
|
13
|
-
export type StringFilter<$PrismaModel = never> = {
|
|
14
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
15
|
-
in?: string[];
|
|
16
|
-
notIn?: string[];
|
|
17
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
18
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
19
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
20
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
21
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
22
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
23
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
24
|
-
not?: Prisma.NestedStringFilter<$PrismaModel> | string;
|
|
25
|
-
};
|
|
26
|
-
export type BoolFilter<$PrismaModel = never> = {
|
|
27
|
-
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
|
|
28
|
-
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean;
|
|
29
|
-
};
|
|
30
|
-
export type DateTimeFilter<$PrismaModel = never> = {
|
|
31
|
-
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
32
|
-
in?: Date[] | string[];
|
|
33
|
-
notIn?: Date[] | string[];
|
|
34
|
-
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
35
|
-
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
36
|
-
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
37
|
-
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
38
|
-
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string;
|
|
39
|
-
};
|
|
40
|
-
export type StringNullableFilter<$PrismaModel = never> = {
|
|
41
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
42
|
-
in?: string[] | null;
|
|
43
|
-
notIn?: string[] | null;
|
|
44
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
45
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
46
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
47
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
48
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
49
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
50
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
51
|
-
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null;
|
|
52
|
-
};
|
|
53
|
-
export type SortOrderInput = {
|
|
54
|
-
sort: Prisma.SortOrder;
|
|
55
|
-
nulls?: Prisma.NullsOrder;
|
|
56
|
-
};
|
|
57
|
-
export type IntWithAggregatesFilter<$PrismaModel = never> = {
|
|
58
|
-
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
59
|
-
in?: number[];
|
|
60
|
-
notIn?: number[];
|
|
61
|
-
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
62
|
-
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
63
|
-
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
64
|
-
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
65
|
-
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
|
|
66
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
67
|
-
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
68
|
-
_sum?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
69
|
-
_min?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
70
|
-
_max?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
71
|
-
};
|
|
72
|
-
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
73
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
74
|
-
in?: string[];
|
|
75
|
-
notIn?: string[];
|
|
76
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
77
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
78
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
79
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
80
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
81
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
82
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
83
|
-
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string;
|
|
84
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
85
|
-
_min?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
86
|
-
_max?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
87
|
-
};
|
|
88
|
-
export type BoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
89
|
-
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
|
|
90
|
-
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean;
|
|
91
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
92
|
-
_min?: Prisma.NestedBoolFilter<$PrismaModel>;
|
|
93
|
-
_max?: Prisma.NestedBoolFilter<$PrismaModel>;
|
|
94
|
-
};
|
|
95
|
-
export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
96
|
-
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
97
|
-
in?: Date[] | string[];
|
|
98
|
-
notIn?: Date[] | string[];
|
|
99
|
-
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
100
|
-
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
101
|
-
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
102
|
-
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
103
|
-
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
|
|
104
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
105
|
-
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>;
|
|
106
|
-
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>;
|
|
107
|
-
};
|
|
108
|
-
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
109
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
110
|
-
in?: string[] | null;
|
|
111
|
-
notIn?: string[] | null;
|
|
112
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
113
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
114
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
115
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
116
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
117
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
118
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
119
|
-
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null;
|
|
120
|
-
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
121
|
-
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
122
|
-
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
123
|
-
};
|
|
124
|
-
export type EnumPermissionFilter<$PrismaModel = never> = {
|
|
125
|
-
equals?: $Enums.Permission | Prisma.EnumPermissionFieldRefInput<$PrismaModel>;
|
|
126
|
-
in?: $Enums.Permission[];
|
|
127
|
-
notIn?: $Enums.Permission[];
|
|
128
|
-
not?: Prisma.NestedEnumPermissionFilter<$PrismaModel> | $Enums.Permission;
|
|
129
|
-
};
|
|
130
|
-
export type IntNullableFilter<$PrismaModel = never> = {
|
|
131
|
-
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
|
|
132
|
-
in?: number[] | null;
|
|
133
|
-
notIn?: number[] | null;
|
|
134
|
-
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
135
|
-
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
136
|
-
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
137
|
-
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
138
|
-
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null;
|
|
139
|
-
};
|
|
140
|
-
export type EnumPermissionWithAggregatesFilter<$PrismaModel = never> = {
|
|
141
|
-
equals?: $Enums.Permission | Prisma.EnumPermissionFieldRefInput<$PrismaModel>;
|
|
142
|
-
in?: $Enums.Permission[];
|
|
143
|
-
notIn?: $Enums.Permission[];
|
|
144
|
-
not?: Prisma.NestedEnumPermissionWithAggregatesFilter<$PrismaModel> | $Enums.Permission;
|
|
145
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
146
|
-
_min?: Prisma.NestedEnumPermissionFilter<$PrismaModel>;
|
|
147
|
-
_max?: Prisma.NestedEnumPermissionFilter<$PrismaModel>;
|
|
148
|
-
};
|
|
149
|
-
export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
150
|
-
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
|
|
151
|
-
in?: number[] | null;
|
|
152
|
-
notIn?: number[] | null;
|
|
153
|
-
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
154
|
-
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
155
|
-
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
156
|
-
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
157
|
-
not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null;
|
|
158
|
-
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
159
|
-
_avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>;
|
|
160
|
-
_sum?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
161
|
-
_min?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
162
|
-
_max?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
163
|
-
};
|
|
164
|
-
export type NestedIntFilter<$PrismaModel = never> = {
|
|
165
|
-
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
166
|
-
in?: number[];
|
|
167
|
-
notIn?: number[];
|
|
168
|
-
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
169
|
-
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
170
|
-
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
171
|
-
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
172
|
-
not?: Prisma.NestedIntFilter<$PrismaModel> | number;
|
|
173
|
-
};
|
|
174
|
-
export type NestedStringFilter<$PrismaModel = never> = {
|
|
175
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
176
|
-
in?: string[];
|
|
177
|
-
notIn?: string[];
|
|
178
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
179
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
180
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
181
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
182
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
183
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
184
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
185
|
-
not?: Prisma.NestedStringFilter<$PrismaModel> | string;
|
|
186
|
-
};
|
|
187
|
-
export type NestedBoolFilter<$PrismaModel = never> = {
|
|
188
|
-
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
|
|
189
|
-
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean;
|
|
190
|
-
};
|
|
191
|
-
export type NestedDateTimeFilter<$PrismaModel = never> = {
|
|
192
|
-
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
193
|
-
in?: Date[] | string[];
|
|
194
|
-
notIn?: Date[] | string[];
|
|
195
|
-
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
196
|
-
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
197
|
-
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
198
|
-
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
199
|
-
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string;
|
|
200
|
-
};
|
|
201
|
-
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
202
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
203
|
-
in?: string[] | null;
|
|
204
|
-
notIn?: string[] | null;
|
|
205
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
206
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
207
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
208
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
209
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
210
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
211
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
212
|
-
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null;
|
|
213
|
-
};
|
|
214
|
-
export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
215
|
-
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
216
|
-
in?: number[];
|
|
217
|
-
notIn?: number[];
|
|
218
|
-
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
219
|
-
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
220
|
-
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
221
|
-
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
222
|
-
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
|
|
223
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
224
|
-
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
225
|
-
_sum?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
226
|
-
_min?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
227
|
-
_max?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
228
|
-
};
|
|
229
|
-
export type NestedFloatFilter<$PrismaModel = never> = {
|
|
230
|
-
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
231
|
-
in?: number[];
|
|
232
|
-
notIn?: number[];
|
|
233
|
-
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
234
|
-
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
235
|
-
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
236
|
-
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
237
|
-
not?: Prisma.NestedFloatFilter<$PrismaModel> | number;
|
|
238
|
-
};
|
|
239
|
-
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
240
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
241
|
-
in?: string[];
|
|
242
|
-
notIn?: string[];
|
|
243
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
244
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
245
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
246
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
247
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
248
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
249
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
250
|
-
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string;
|
|
251
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
252
|
-
_min?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
253
|
-
_max?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
254
|
-
};
|
|
255
|
-
export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
256
|
-
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
|
|
257
|
-
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean;
|
|
258
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
259
|
-
_min?: Prisma.NestedBoolFilter<$PrismaModel>;
|
|
260
|
-
_max?: Prisma.NestedBoolFilter<$PrismaModel>;
|
|
261
|
-
};
|
|
262
|
-
export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
263
|
-
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
264
|
-
in?: Date[] | string[];
|
|
265
|
-
notIn?: Date[] | string[];
|
|
266
|
-
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
267
|
-
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
268
|
-
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
269
|
-
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
270
|
-
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
|
|
271
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
272
|
-
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>;
|
|
273
|
-
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>;
|
|
274
|
-
};
|
|
275
|
-
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
276
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
277
|
-
in?: string[] | null;
|
|
278
|
-
notIn?: string[] | null;
|
|
279
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
280
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
281
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
282
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
283
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
284
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
285
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
286
|
-
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null;
|
|
287
|
-
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
288
|
-
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
289
|
-
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
290
|
-
};
|
|
291
|
-
export type NestedIntNullableFilter<$PrismaModel = never> = {
|
|
292
|
-
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
|
|
293
|
-
in?: number[] | null;
|
|
294
|
-
notIn?: number[] | null;
|
|
295
|
-
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
296
|
-
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
297
|
-
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
298
|
-
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
299
|
-
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null;
|
|
300
|
-
};
|
|
301
|
-
export type NestedEnumPermissionFilter<$PrismaModel = never> = {
|
|
302
|
-
equals?: $Enums.Permission | Prisma.EnumPermissionFieldRefInput<$PrismaModel>;
|
|
303
|
-
in?: $Enums.Permission[];
|
|
304
|
-
notIn?: $Enums.Permission[];
|
|
305
|
-
not?: Prisma.NestedEnumPermissionFilter<$PrismaModel> | $Enums.Permission;
|
|
306
|
-
};
|
|
307
|
-
export type NestedEnumPermissionWithAggregatesFilter<$PrismaModel = never> = {
|
|
308
|
-
equals?: $Enums.Permission | Prisma.EnumPermissionFieldRefInput<$PrismaModel>;
|
|
309
|
-
in?: $Enums.Permission[];
|
|
310
|
-
notIn?: $Enums.Permission[];
|
|
311
|
-
not?: Prisma.NestedEnumPermissionWithAggregatesFilter<$PrismaModel> | $Enums.Permission;
|
|
312
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
313
|
-
_min?: Prisma.NestedEnumPermissionFilter<$PrismaModel>;
|
|
314
|
-
_max?: Prisma.NestedEnumPermissionFilter<$PrismaModel>;
|
|
315
|
-
};
|
|
316
|
-
export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
317
|
-
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
|
|
318
|
-
in?: number[] | null;
|
|
319
|
-
notIn?: number[] | null;
|
|
320
|
-
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
321
|
-
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
322
|
-
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
323
|
-
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
324
|
-
not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null;
|
|
325
|
-
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
326
|
-
_avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>;
|
|
327
|
-
_sum?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
328
|
-
_min?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
329
|
-
_max?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
330
|
-
};
|
|
331
|
-
export type NestedFloatNullableFilter<$PrismaModel = never> = {
|
|
332
|
-
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null;
|
|
333
|
-
in?: number[] | null;
|
|
334
|
-
notIn?: number[] | null;
|
|
335
|
-
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
336
|
-
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
337
|
-
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
338
|
-
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
339
|
-
not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null;
|
|
340
|
-
};
|
|
341
|
-
//# sourceMappingURL=commonInputTypes.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const Permission: {
|
|
2
|
-
readonly supervisor_admin: "supervisor_admin";
|
|
3
|
-
readonly manage_agents: "manage_agents";
|
|
4
|
-
readonly manage_hosts: "manage_hosts";
|
|
5
|
-
readonly agent_communication: "agent_communication";
|
|
6
|
-
readonly manage_models: "manage_models";
|
|
7
|
-
readonly manage_variables: "manage_variables";
|
|
8
|
-
readonly view_run_logs: "view_run_logs";
|
|
9
|
-
};
|
|
10
|
-
export type Permission = (typeof Permission)[keyof typeof Permission];
|
|
11
|
-
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import * as runtime from "@prisma/client/runtime/client";
|
|
2
|
-
import type * as Prisma from "./prismaNamespace.js";
|
|
3
|
-
export type LogOptions<ClientOptions extends Prisma.PrismaClientOptions> = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never;
|
|
4
|
-
export interface PrismaClientConstructor {
|
|
5
|
-
/**
|
|
6
|
-
* ## Prisma Client
|
|
7
|
-
*
|
|
8
|
-
* Type-safe database client for TypeScript
|
|
9
|
-
* @example
|
|
10
|
-
* ```
|
|
11
|
-
* const prisma = new PrismaClient({
|
|
12
|
-
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
13
|
-
* })
|
|
14
|
-
* // Fetch zero or more Users
|
|
15
|
-
* const users = await prisma.user.findMany()
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* Read more in our [docs](https://pris.ly/d/client).
|
|
19
|
-
*/
|
|
20
|
-
new <Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, LogOpts extends LogOptions<Options> = LogOptions<Options>, OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends {
|
|
21
|
-
omit: infer U;
|
|
22
|
-
} ? U : Prisma.PrismaClientOptions['omit'], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs>(options: Prisma.Subset<Options, Prisma.PrismaClientOptions>): PrismaClient<LogOpts, OmitOpts, ExtArgs>;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* ## Prisma Client
|
|
26
|
-
*
|
|
27
|
-
* Type-safe database client for TypeScript
|
|
28
|
-
* @example
|
|
29
|
-
* ```
|
|
30
|
-
* const prisma = new PrismaClient({
|
|
31
|
-
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
32
|
-
* })
|
|
33
|
-
* // Fetch zero or more Users
|
|
34
|
-
* const users = await prisma.user.findMany()
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* Read more in our [docs](https://pris.ly/d/client).
|
|
38
|
-
*/
|
|
39
|
-
export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> {
|
|
40
|
-
[K: symbol]: {
|
|
41
|
-
types: Prisma.TypeMap<ExtArgs>['other'];
|
|
42
|
-
};
|
|
43
|
-
$on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
|
|
44
|
-
/**
|
|
45
|
-
* Connect with the database
|
|
46
|
-
*/
|
|
47
|
-
$connect(): runtime.Types.Utils.JsPromise<void>;
|
|
48
|
-
/**
|
|
49
|
-
* Disconnect from the database
|
|
50
|
-
*/
|
|
51
|
-
$disconnect(): runtime.Types.Utils.JsPromise<void>;
|
|
52
|
-
/**
|
|
53
|
-
* Executes a prepared raw query and returns the number of affected rows.
|
|
54
|
-
* @example
|
|
55
|
-
* ```
|
|
56
|
-
* const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
|
|
57
|
-
* ```
|
|
58
|
-
*
|
|
59
|
-
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
60
|
-
*/
|
|
61
|
-
$executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
62
|
-
/**
|
|
63
|
-
* Executes a raw query and returns the number of affected rows.
|
|
64
|
-
* Susceptible to SQL injections, see documentation.
|
|
65
|
-
* @example
|
|
66
|
-
* ```
|
|
67
|
-
* const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
|
|
68
|
-
* ```
|
|
69
|
-
*
|
|
70
|
-
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
71
|
-
*/
|
|
72
|
-
$executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
73
|
-
/**
|
|
74
|
-
* Performs a prepared raw query and returns the `SELECT` data.
|
|
75
|
-
* @example
|
|
76
|
-
* ```
|
|
77
|
-
* const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
|
|
78
|
-
* ```
|
|
79
|
-
*
|
|
80
|
-
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
81
|
-
*/
|
|
82
|
-
$queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
83
|
-
/**
|
|
84
|
-
* Performs a raw query and returns the `SELECT` data.
|
|
85
|
-
* Susceptible to SQL injections, see documentation.
|
|
86
|
-
* @example
|
|
87
|
-
* ```
|
|
88
|
-
* const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
|
|
89
|
-
* ```
|
|
90
|
-
*
|
|
91
|
-
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
92
|
-
*/
|
|
93
|
-
$queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
94
|
-
/**
|
|
95
|
-
* Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
|
|
96
|
-
* @example
|
|
97
|
-
* ```
|
|
98
|
-
* const [george, bob, alice] = await prisma.$transaction([
|
|
99
|
-
* prisma.user.create({ data: { name: 'George' } }),
|
|
100
|
-
* prisma.user.create({ data: { name: 'Bob' } }),
|
|
101
|
-
* prisma.user.create({ data: { name: 'Alice' } }),
|
|
102
|
-
* ])
|
|
103
|
-
* ```
|
|
104
|
-
*
|
|
105
|
-
* Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions).
|
|
106
|
-
*/
|
|
107
|
-
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: {
|
|
108
|
-
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
109
|
-
}): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>;
|
|
110
|
-
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => runtime.Types.Utils.JsPromise<R>, options?: {
|
|
111
|
-
maxWait?: number;
|
|
112
|
-
timeout?: number;
|
|
113
|
-
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
114
|
-
}): runtime.Types.Utils.JsPromise<R>;
|
|
115
|
-
$extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<Prisma.TypeMapCb<OmitOpts>, {
|
|
116
|
-
extArgs: ExtArgs;
|
|
117
|
-
}>>;
|
|
118
|
-
/**
|
|
119
|
-
* `prisma.user`: Exposes CRUD operations for the **User** model.
|
|
120
|
-
* Example usage:
|
|
121
|
-
* ```ts
|
|
122
|
-
* // Fetch zero or more Users
|
|
123
|
-
* const users = await prisma.user.findMany()
|
|
124
|
-
* ```
|
|
125
|
-
*/
|
|
126
|
-
get user(): Prisma.UserDelegate<ExtArgs, {
|
|
127
|
-
omit: OmitOpts;
|
|
128
|
-
}>;
|
|
129
|
-
/**
|
|
130
|
-
* `prisma.session`: Exposes CRUD operations for the **Session** model.
|
|
131
|
-
* Example usage:
|
|
132
|
-
* ```ts
|
|
133
|
-
* // Fetch zero or more Sessions
|
|
134
|
-
* const sessions = await prisma.session.findMany()
|
|
135
|
-
* ```
|
|
136
|
-
*/
|
|
137
|
-
get session(): Prisma.SessionDelegate<ExtArgs, {
|
|
138
|
-
omit: OmitOpts;
|
|
139
|
-
}>;
|
|
140
|
-
/**
|
|
141
|
-
* `prisma.userPermission`: Exposes CRUD operations for the **UserPermission** model.
|
|
142
|
-
* Example usage:
|
|
143
|
-
* ```ts
|
|
144
|
-
* // Fetch zero or more UserPermissions
|
|
145
|
-
* const userPermissions = await prisma.userPermission.findMany()
|
|
146
|
-
* ```
|
|
147
|
-
*/
|
|
148
|
-
get userPermission(): Prisma.UserPermissionDelegate<ExtArgs, {
|
|
149
|
-
omit: OmitOpts;
|
|
150
|
-
}>;
|
|
151
|
-
/**
|
|
152
|
-
* `prisma.schemaVersion`: Exposes CRUD operations for the **SchemaVersion** model.
|
|
153
|
-
* Example usage:
|
|
154
|
-
* ```ts
|
|
155
|
-
* // Fetch zero or more SchemaVersions
|
|
156
|
-
* const schemaVersions = await prisma.schemaVersion.findMany()
|
|
157
|
-
* ```
|
|
158
|
-
*/
|
|
159
|
-
get schemaVersion(): Prisma.SchemaVersionDelegate<ExtArgs, {
|
|
160
|
-
omit: OmitOpts;
|
|
161
|
-
}>;
|
|
162
|
-
}
|
|
163
|
-
export declare function getPrismaClientClass(): PrismaClientConstructor;
|
|
164
|
-
//# sourceMappingURL=class.d.ts.map
|