@aeolus-fleet/trierarch-plugin 0.39.0 → 0.40.0

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.
Files changed (121) hide show
  1. package/README.md +19 -9
  2. package/dist/adapters/crypto/sealed-box-sealer.d.ts +1 -1
  3. package/dist/adapters/fleet/console-sessions.js +3 -3
  4. package/dist/adapters/fleet/console-sessions.js.map +1 -1
  5. package/dist/adapters/fleet/core-version.d.ts +1 -1
  6. package/dist/adapters/fleet/core-version.js +1 -1
  7. package/dist/adapters/fleet/rest-fleet-door.js +1 -1
  8. package/dist/adapters/fleet/rest-fleet-door.js.map +1 -1
  9. package/dist/adapters/prisma/fleet-forgetter.d.ts +1 -1
  10. package/dist/adapters/prisma/fleet-forgetter.js +2 -2
  11. package/dist/adapters/prisma/fleet-forgetter.js.map +1 -1
  12. package/dist/adapters/prisma/generated/browser.d.ts +32 -0
  13. package/dist/adapters/prisma/generated/client.d.ts +32 -0
  14. package/dist/adapters/prisma/generated/commonInputTypes.d.ts +150 -0
  15. package/dist/adapters/prisma/generated/internal/class.d.ts +44 -0
  16. package/dist/adapters/prisma/generated/internal/class.js +4 -4
  17. package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
  18. package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +360 -1
  19. package/dist/adapters/prisma/generated/internal/prismaNamespace.js +46 -1
  20. package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
  21. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +51 -0
  22. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +46 -1
  23. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
  24. package/dist/adapters/prisma/generated/models/McpConfiguration.d.ts +1004 -0
  25. package/dist/adapters/prisma/generated/models/McpConfiguration.js +2 -0
  26. package/dist/adapters/prisma/generated/models/McpConfiguration.js.map +1 -0
  27. package/dist/adapters/prisma/generated/models/McpConfigurationEvent.d.ts +1141 -0
  28. package/dist/adapters/prisma/generated/models/McpConfigurationEvent.js +2 -0
  29. package/dist/adapters/prisma/generated/models/McpConfigurationEvent.js.map +1 -0
  30. package/dist/adapters/prisma/generated/models/McpDelivery.d.ts +1204 -0
  31. package/dist/adapters/prisma/generated/models/McpDelivery.js +2 -0
  32. package/dist/adapters/prisma/generated/models/McpDelivery.js.map +1 -0
  33. package/dist/adapters/prisma/generated/models/McpSecret.d.ts +948 -0
  34. package/dist/adapters/prisma/generated/models/McpSecret.js +2 -0
  35. package/dist/adapters/prisma/generated/models/McpSecret.js.map +1 -0
  36. package/dist/adapters/prisma/generated/models.d.ts +4 -0
  37. package/dist/adapters/prisma/mcp-configurations.d.ts +11 -0
  38. package/dist/adapters/prisma/mcp-configurations.js +44 -0
  39. package/dist/adapters/prisma/mcp-configurations.js.map +1 -0
  40. package/dist/adapters/prisma/mcp-deliveries.d.ts +9 -0
  41. package/dist/adapters/prisma/mcp-deliveries.js +47 -0
  42. package/dist/adapters/prisma/mcp-deliveries.js.map +1 -0
  43. package/dist/adapters/trpc/router.d.ts +63 -5
  44. package/dist/adapters/trpc/router.js +60 -2
  45. package/dist/adapters/trpc/router.js.map +1 -1
  46. package/dist/app.d.ts +2 -6
  47. package/dist/app.js +56 -59
  48. package/dist/app.js.map +1 -1
  49. package/dist/bin/aeolus-trierarch-plugin.js +1 -2
  50. package/dist/bin/aeolus-trierarch-plugin.js.map +1 -1
  51. package/dist/config.d.ts +6 -10
  52. package/dist/config.js +5 -54
  53. package/dist/config.js.map +1 -1
  54. package/dist/core/assignment/assign-crews.d.ts +5 -1
  55. package/dist/core/assignment/assign-crews.js +4 -2
  56. package/dist/core/assignment/assign-crews.js.map +1 -1
  57. package/dist/core/assignment/check-crew-settings.d.ts +3 -0
  58. package/dist/core/assignment/check-crew-settings.js +2 -1
  59. package/dist/core/assignment/check-crew-settings.js.map +1 -1
  60. package/dist/core/assignment/placement.d.ts +3 -1
  61. package/dist/core/assignment/placement.js +27 -7
  62. package/dist/core/assignment/placement.js.map +1 -1
  63. package/dist/core/assignment/read-placement.d.ts +7 -1
  64. package/dist/core/assignment/read-placement.js +14 -2
  65. package/dist/core/assignment/read-placement.js.map +1 -1
  66. package/dist/core/connection/ports.d.ts +2 -0
  67. package/dist/core/mcp-configuration/distribute-mcp-configuration.d.ts +38 -0
  68. package/dist/core/mcp-configuration/distribute-mcp-configuration.js +97 -0
  69. package/dist/core/mcp-configuration/distribute-mcp-configuration.js.map +1 -0
  70. package/dist/core/mcp-configuration/mcp-configuration.d.ts +107 -0
  71. package/dist/core/mcp-configuration/mcp-configuration.js +205 -0
  72. package/dist/core/mcp-configuration/mcp-configuration.js.map +1 -0
  73. package/dist/core/mcp-configuration/mcp-delivery.d.ts +59 -0
  74. package/dist/core/mcp-configuration/mcp-delivery.js +32 -0
  75. package/dist/core/mcp-configuration/mcp-delivery.js.map +1 -0
  76. package/dist/core/mcp-configuration/ports.d.ts +79 -0
  77. package/dist/core/mcp-configuration/ports.js.map +1 -0
  78. package/dist/core/mcp-configuration/read-mcp-configuration.d.ts +8 -0
  79. package/dist/core/mcp-configuration/read-mcp-configuration.js +6 -0
  80. package/dist/core/mcp-configuration/read-mcp-configuration.js.map +1 -0
  81. package/dist/core/mcp-configuration/replace-mcp-configuration.d.ts +24 -0
  82. package/dist/core/mcp-configuration/replace-mcp-configuration.js +30 -0
  83. package/dist/core/mcp-configuration/replace-mcp-configuration.js.map +1 -0
  84. package/dist/core/mcp-configuration/sealing-key.js.map +1 -0
  85. package/dist/core/mcp-configuration/take-mcp-configuration-message.d.ts +30 -0
  86. package/dist/core/mcp-configuration/take-mcp-configuration-message.js +74 -0
  87. package/dist/core/mcp-configuration/take-mcp-configuration-message.js.map +1 -0
  88. package/dist/core/operator/authenticate-operator.d.ts +3 -1
  89. package/dist/core/operator/authenticate-operator.js +7 -4
  90. package/dist/core/operator/authenticate-operator.js.map +1 -1
  91. package/dist/core/operator/ports.d.ts +2 -1
  92. package/dist/core/shared/errors.d.ts +1 -1
  93. package/dist/core/shared/errors.js.map +1 -1
  94. package/package.json +3 -3
  95. package/src/adapters/prisma/migrations/20261109120000_mcp_configurations/migration.sql +35 -0
  96. package/src/adapters/prisma/migrations/20261109130000_mcp_deliveries/migration.sql +15 -0
  97. package/src/adapters/prisma/schema.prisma +65 -0
  98. package/dist/core/mcp-servers/mcp-servers.d.ts +0 -46
  99. package/dist/core/mcp-servers/mcp-servers.js +0 -112
  100. package/dist/core/mcp-servers/mcp-servers.js.map +0 -1
  101. package/dist/core/mcp-servers/ports.d.ts +0 -13
  102. package/dist/core/mcp-servers/ports.js.map +0 -1
  103. package/dist/core/mcp-servers/resend-mcp-servers.d.ts +0 -15
  104. package/dist/core/mcp-servers/resend-mcp-servers.js +0 -19
  105. package/dist/core/mcp-servers/resend-mcp-servers.js.map +0 -1
  106. package/dist/core/mcp-servers/resend-secrets.d.ts +0 -15
  107. package/dist/core/mcp-servers/resend-secrets.js +0 -19
  108. package/dist/core/mcp-servers/resend-secrets.js.map +0 -1
  109. package/dist/core/mcp-servers/sealing-key.js.map +0 -1
  110. package/dist/core/mcp-servers/secrets.d.ts +0 -31
  111. package/dist/core/mcp-servers/secrets.js +0 -90
  112. package/dist/core/mcp-servers/secrets.js.map +0 -1
  113. package/dist/core/mcp-servers/share-mcp-servers.d.ts +0 -25
  114. package/dist/core/mcp-servers/share-mcp-servers.js +0 -45
  115. package/dist/core/mcp-servers/share-mcp-servers.js.map +0 -1
  116. package/dist/core/mcp-servers/share-secrets.d.ts +0 -36
  117. package/dist/core/mcp-servers/share-secrets.js +0 -71
  118. package/dist/core/mcp-servers/share-secrets.js.map +0 -1
  119. /package/dist/core/{mcp-servers → mcp-configuration}/ports.js +0 -0
  120. /package/dist/core/{mcp-servers → mcp-configuration}/sealing-key.d.ts +0 -0
  121. /package/dist/core/{mcp-servers → mcp-configuration}/sealing-key.js +0 -0
@@ -0,0 +1,1004 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model McpConfiguration
5
+ * Each fleet's one current MCP configuration (the fleet crew MCP design,
6
+ * section 4): its version, which guards every replacement, and its servers as
7
+ * the model saved them. No row before the fleet's first replacement: version 0
8
+ * with nothing. Its secrets are in mcp_secrets, so this row holds no value.
9
+ */
10
+ export type McpConfigurationModel = runtime.Types.Result.DefaultSelection<Prisma.$McpConfigurationPayload>;
11
+ export type AggregateMcpConfiguration = {
12
+ _count: McpConfigurationCountAggregateOutputType | null;
13
+ _avg: McpConfigurationAvgAggregateOutputType | null;
14
+ _sum: McpConfigurationSumAggregateOutputType | null;
15
+ _min: McpConfigurationMinAggregateOutputType | null;
16
+ _max: McpConfigurationMaxAggregateOutputType | null;
17
+ };
18
+ export type McpConfigurationAvgAggregateOutputType = {
19
+ version: number | null;
20
+ };
21
+ export type McpConfigurationSumAggregateOutputType = {
22
+ version: number | null;
23
+ };
24
+ export type McpConfigurationMinAggregateOutputType = {
25
+ fleetId: string | null;
26
+ version: number | null;
27
+ replacedAt: Date | null;
28
+ };
29
+ export type McpConfigurationMaxAggregateOutputType = {
30
+ fleetId: string | null;
31
+ version: number | null;
32
+ replacedAt: Date | null;
33
+ };
34
+ export type McpConfigurationCountAggregateOutputType = {
35
+ fleetId: number;
36
+ version: number;
37
+ servers: number;
38
+ replacedAt: number;
39
+ _all: number;
40
+ };
41
+ export type McpConfigurationAvgAggregateInputType = {
42
+ version?: true;
43
+ };
44
+ export type McpConfigurationSumAggregateInputType = {
45
+ version?: true;
46
+ };
47
+ export type McpConfigurationMinAggregateInputType = {
48
+ fleetId?: true;
49
+ version?: true;
50
+ replacedAt?: true;
51
+ };
52
+ export type McpConfigurationMaxAggregateInputType = {
53
+ fleetId?: true;
54
+ version?: true;
55
+ replacedAt?: true;
56
+ };
57
+ export type McpConfigurationCountAggregateInputType = {
58
+ fleetId?: true;
59
+ version?: true;
60
+ servers?: true;
61
+ replacedAt?: true;
62
+ _all?: true;
63
+ };
64
+ export type McpConfigurationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
65
+ /**
66
+ * Filter which McpConfiguration to aggregate.
67
+ */
68
+ where?: Prisma.McpConfigurationWhereInput;
69
+ /**
70
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
71
+ *
72
+ * Determine the order of McpConfigurations to fetch.
73
+ */
74
+ orderBy?: Prisma.McpConfigurationOrderByWithRelationInput | Prisma.McpConfigurationOrderByWithRelationInput[];
75
+ /**
76
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
77
+ *
78
+ * Sets the start position
79
+ */
80
+ cursor?: Prisma.McpConfigurationWhereUniqueInput;
81
+ /**
82
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
83
+ *
84
+ * Take `±n` McpConfigurations from the position of the cursor.
85
+ */
86
+ take?: number;
87
+ /**
88
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
89
+ *
90
+ * Skip the first `n` McpConfigurations.
91
+ */
92
+ skip?: number;
93
+ /**
94
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
95
+ *
96
+ * Count returned McpConfigurations
97
+ **/
98
+ _count?: true | McpConfigurationCountAggregateInputType;
99
+ /**
100
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
101
+ *
102
+ * Select which fields to average
103
+ **/
104
+ _avg?: McpConfigurationAvgAggregateInputType;
105
+ /**
106
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
107
+ *
108
+ * Select which fields to sum
109
+ **/
110
+ _sum?: McpConfigurationSumAggregateInputType;
111
+ /**
112
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
113
+ *
114
+ * Select which fields to find the minimum value
115
+ **/
116
+ _min?: McpConfigurationMinAggregateInputType;
117
+ /**
118
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
119
+ *
120
+ * Select which fields to find the maximum value
121
+ **/
122
+ _max?: McpConfigurationMaxAggregateInputType;
123
+ };
124
+ export type GetMcpConfigurationAggregateType<T extends McpConfigurationAggregateArgs> = {
125
+ [P in keyof T & keyof AggregateMcpConfiguration]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMcpConfiguration[P]> : Prisma.GetScalarType<T[P], AggregateMcpConfiguration[P]>;
126
+ };
127
+ export type McpConfigurationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
128
+ where?: Prisma.McpConfigurationWhereInput;
129
+ orderBy?: Prisma.McpConfigurationOrderByWithAggregationInput | Prisma.McpConfigurationOrderByWithAggregationInput[];
130
+ by: Prisma.McpConfigurationScalarFieldEnum[] | Prisma.McpConfigurationScalarFieldEnum;
131
+ having?: Prisma.McpConfigurationScalarWhereWithAggregatesInput;
132
+ take?: number;
133
+ skip?: number;
134
+ _count?: McpConfigurationCountAggregateInputType | true;
135
+ _avg?: McpConfigurationAvgAggregateInputType;
136
+ _sum?: McpConfigurationSumAggregateInputType;
137
+ _min?: McpConfigurationMinAggregateInputType;
138
+ _max?: McpConfigurationMaxAggregateInputType;
139
+ };
140
+ export type McpConfigurationGroupByOutputType = {
141
+ fleetId: string;
142
+ version: number;
143
+ servers: runtime.JsonValue;
144
+ replacedAt: Date;
145
+ _count: McpConfigurationCountAggregateOutputType | null;
146
+ _avg: McpConfigurationAvgAggregateOutputType | null;
147
+ _sum: McpConfigurationSumAggregateOutputType | null;
148
+ _min: McpConfigurationMinAggregateOutputType | null;
149
+ _max: McpConfigurationMaxAggregateOutputType | null;
150
+ };
151
+ export type GetMcpConfigurationGroupByPayload<T extends McpConfigurationGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<McpConfigurationGroupByOutputType, T['by']> & {
152
+ [P in ((keyof T) & (keyof McpConfigurationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], McpConfigurationGroupByOutputType[P]> : Prisma.GetScalarType<T[P], McpConfigurationGroupByOutputType[P]>;
153
+ }>>;
154
+ export type McpConfigurationWhereInput = {
155
+ AND?: Prisma.McpConfigurationWhereInput | Prisma.McpConfigurationWhereInput[];
156
+ OR?: Prisma.McpConfigurationWhereInput[];
157
+ NOT?: Prisma.McpConfigurationWhereInput | Prisma.McpConfigurationWhereInput[];
158
+ fleetId?: Prisma.StringFilter<"McpConfiguration"> | string;
159
+ version?: Prisma.IntFilter<"McpConfiguration"> | number;
160
+ servers?: Prisma.JsonFilter<"McpConfiguration">;
161
+ replacedAt?: Prisma.DateTimeFilter<"McpConfiguration"> | Date | string;
162
+ };
163
+ export type McpConfigurationOrderByWithRelationInput = {
164
+ fleetId?: Prisma.SortOrder;
165
+ version?: Prisma.SortOrder;
166
+ servers?: Prisma.SortOrder;
167
+ replacedAt?: Prisma.SortOrder;
168
+ };
169
+ export type McpConfigurationWhereUniqueInput = Prisma.AtLeast<{
170
+ fleetId?: string;
171
+ AND?: Prisma.McpConfigurationWhereInput | Prisma.McpConfigurationWhereInput[];
172
+ OR?: Prisma.McpConfigurationWhereInput[];
173
+ NOT?: Prisma.McpConfigurationWhereInput | Prisma.McpConfigurationWhereInput[];
174
+ version?: Prisma.IntFilter<"McpConfiguration"> | number;
175
+ servers?: Prisma.JsonFilter<"McpConfiguration">;
176
+ replacedAt?: Prisma.DateTimeFilter<"McpConfiguration"> | Date | string;
177
+ }, "fleetId">;
178
+ export type McpConfigurationOrderByWithAggregationInput = {
179
+ fleetId?: Prisma.SortOrder;
180
+ version?: Prisma.SortOrder;
181
+ servers?: Prisma.SortOrder;
182
+ replacedAt?: Prisma.SortOrder;
183
+ _count?: Prisma.McpConfigurationCountOrderByAggregateInput;
184
+ _avg?: Prisma.McpConfigurationAvgOrderByAggregateInput;
185
+ _max?: Prisma.McpConfigurationMaxOrderByAggregateInput;
186
+ _min?: Prisma.McpConfigurationMinOrderByAggregateInput;
187
+ _sum?: Prisma.McpConfigurationSumOrderByAggregateInput;
188
+ };
189
+ export type McpConfigurationScalarWhereWithAggregatesInput = {
190
+ AND?: Prisma.McpConfigurationScalarWhereWithAggregatesInput | Prisma.McpConfigurationScalarWhereWithAggregatesInput[];
191
+ OR?: Prisma.McpConfigurationScalarWhereWithAggregatesInput[];
192
+ NOT?: Prisma.McpConfigurationScalarWhereWithAggregatesInput | Prisma.McpConfigurationScalarWhereWithAggregatesInput[];
193
+ fleetId?: Prisma.StringWithAggregatesFilter<"McpConfiguration"> | string;
194
+ version?: Prisma.IntWithAggregatesFilter<"McpConfiguration"> | number;
195
+ servers?: Prisma.JsonWithAggregatesFilter<"McpConfiguration">;
196
+ replacedAt?: Prisma.DateTimeWithAggregatesFilter<"McpConfiguration"> | Date | string;
197
+ };
198
+ export type McpConfigurationCreateInput = {
199
+ fleetId: string;
200
+ version: number;
201
+ servers: Prisma.JsonNullValueInput | runtime.InputJsonValue;
202
+ replacedAt: Date | string;
203
+ };
204
+ export type McpConfigurationUncheckedCreateInput = {
205
+ fleetId: string;
206
+ version: number;
207
+ servers: Prisma.JsonNullValueInput | runtime.InputJsonValue;
208
+ replacedAt: Date | string;
209
+ };
210
+ export type McpConfigurationUpdateInput = {
211
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
212
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
213
+ servers?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
214
+ replacedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
215
+ };
216
+ export type McpConfigurationUncheckedUpdateInput = {
217
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
218
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
219
+ servers?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
220
+ replacedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
221
+ };
222
+ export type McpConfigurationCreateManyInput = {
223
+ fleetId: string;
224
+ version: number;
225
+ servers: Prisma.JsonNullValueInput | runtime.InputJsonValue;
226
+ replacedAt: Date | string;
227
+ };
228
+ export type McpConfigurationUpdateManyMutationInput = {
229
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
230
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
231
+ servers?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
232
+ replacedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
233
+ };
234
+ export type McpConfigurationUncheckedUpdateManyInput = {
235
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
236
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
237
+ servers?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
238
+ replacedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
239
+ };
240
+ export type McpConfigurationCountOrderByAggregateInput = {
241
+ fleetId?: Prisma.SortOrder;
242
+ version?: Prisma.SortOrder;
243
+ servers?: Prisma.SortOrder;
244
+ replacedAt?: Prisma.SortOrder;
245
+ };
246
+ export type McpConfigurationAvgOrderByAggregateInput = {
247
+ version?: Prisma.SortOrder;
248
+ };
249
+ export type McpConfigurationMaxOrderByAggregateInput = {
250
+ fleetId?: Prisma.SortOrder;
251
+ version?: Prisma.SortOrder;
252
+ replacedAt?: Prisma.SortOrder;
253
+ };
254
+ export type McpConfigurationMinOrderByAggregateInput = {
255
+ fleetId?: Prisma.SortOrder;
256
+ version?: Prisma.SortOrder;
257
+ replacedAt?: Prisma.SortOrder;
258
+ };
259
+ export type McpConfigurationSumOrderByAggregateInput = {
260
+ version?: Prisma.SortOrder;
261
+ };
262
+ export type McpConfigurationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
263
+ fleetId?: boolean;
264
+ version?: boolean;
265
+ servers?: boolean;
266
+ replacedAt?: boolean;
267
+ }, ExtArgs["result"]["mcpConfiguration"]>;
268
+ export type McpConfigurationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
269
+ fleetId?: boolean;
270
+ version?: boolean;
271
+ servers?: boolean;
272
+ replacedAt?: boolean;
273
+ }, ExtArgs["result"]["mcpConfiguration"]>;
274
+ export type McpConfigurationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
275
+ fleetId?: boolean;
276
+ version?: boolean;
277
+ servers?: boolean;
278
+ replacedAt?: boolean;
279
+ }, ExtArgs["result"]["mcpConfiguration"]>;
280
+ export type McpConfigurationSelectScalar = {
281
+ fleetId?: boolean;
282
+ version?: boolean;
283
+ servers?: boolean;
284
+ replacedAt?: boolean;
285
+ };
286
+ export type McpConfigurationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fleetId" | "version" | "servers" | "replacedAt", ExtArgs["result"]["mcpConfiguration"]>;
287
+ export type $McpConfigurationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
288
+ name: "McpConfiguration";
289
+ objects: {};
290
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
291
+ fleetId: string;
292
+ version: number;
293
+ servers: runtime.JsonValue;
294
+ replacedAt: Date;
295
+ }, ExtArgs["result"]["mcpConfiguration"]>;
296
+ composites: {};
297
+ };
298
+ export type McpConfigurationGetPayload<S extends boolean | null | undefined | McpConfigurationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$McpConfigurationPayload, S>;
299
+ export type McpConfigurationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<McpConfigurationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
300
+ select?: McpConfigurationCountAggregateInputType | true;
301
+ };
302
+ export interface McpConfigurationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
303
+ [K: symbol]: {
304
+ types: Prisma.TypeMap<ExtArgs>['model']['McpConfiguration'];
305
+ meta: {
306
+ name: 'McpConfiguration';
307
+ };
308
+ };
309
+ /**
310
+ * Find zero or one McpConfiguration that matches the filter.
311
+ * @param {McpConfigurationFindUniqueArgs} args - Arguments to find a McpConfiguration
312
+ * @example
313
+ * // Get one McpConfiguration
314
+ * const mcpConfiguration = await prisma.mcpConfiguration.findUnique({
315
+ * where: {
316
+ * // ... provide filter here
317
+ * }
318
+ * })
319
+ */
320
+ findUnique<T extends McpConfigurationFindUniqueArgs>(args: Prisma.SelectSubset<T, McpConfigurationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__McpConfigurationClient<runtime.Types.Result.GetResult<Prisma.$McpConfigurationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
321
+ /**
322
+ * Find one McpConfiguration that matches the filter or throw an error with `error.code='P2025'`
323
+ * if no matches were found.
324
+ * @param {McpConfigurationFindUniqueOrThrowArgs} args - Arguments to find a McpConfiguration
325
+ * @example
326
+ * // Get one McpConfiguration
327
+ * const mcpConfiguration = await prisma.mcpConfiguration.findUniqueOrThrow({
328
+ * where: {
329
+ * // ... provide filter here
330
+ * }
331
+ * })
332
+ */
333
+ findUniqueOrThrow<T extends McpConfigurationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, McpConfigurationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpConfigurationClient<runtime.Types.Result.GetResult<Prisma.$McpConfigurationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
334
+ /**
335
+ * Find the first McpConfiguration that matches the filter.
336
+ * Note, that providing `undefined` is treated as the value not being there.
337
+ * Read more here: https://pris.ly/d/null-undefined
338
+ * @param {McpConfigurationFindFirstArgs} args - Arguments to find a McpConfiguration
339
+ * @example
340
+ * // Get one McpConfiguration
341
+ * const mcpConfiguration = await prisma.mcpConfiguration.findFirst({
342
+ * where: {
343
+ * // ... provide filter here
344
+ * }
345
+ * })
346
+ */
347
+ findFirst<T extends McpConfigurationFindFirstArgs>(args?: Prisma.SelectSubset<T, McpConfigurationFindFirstArgs<ExtArgs>>): Prisma.Prisma__McpConfigurationClient<runtime.Types.Result.GetResult<Prisma.$McpConfigurationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
348
+ /**
349
+ * Find the first McpConfiguration that matches the filter or
350
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
351
+ * Note, that providing `undefined` is treated as the value not being there.
352
+ * Read more here: https://pris.ly/d/null-undefined
353
+ * @param {McpConfigurationFindFirstOrThrowArgs} args - Arguments to find a McpConfiguration
354
+ * @example
355
+ * // Get one McpConfiguration
356
+ * const mcpConfiguration = await prisma.mcpConfiguration.findFirstOrThrow({
357
+ * where: {
358
+ * // ... provide filter here
359
+ * }
360
+ * })
361
+ */
362
+ findFirstOrThrow<T extends McpConfigurationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, McpConfigurationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpConfigurationClient<runtime.Types.Result.GetResult<Prisma.$McpConfigurationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
363
+ /**
364
+ * Find zero or more McpConfigurations that matches the filter.
365
+ * Note, that providing `undefined` is treated as the value not being there.
366
+ * Read more here: https://pris.ly/d/null-undefined
367
+ * @param {McpConfigurationFindManyArgs} args - Arguments to filter and select certain fields only.
368
+ * @example
369
+ * // Get all McpConfigurations
370
+ * const mcpConfigurations = await prisma.mcpConfiguration.findMany()
371
+ *
372
+ * // Get first 10 McpConfigurations
373
+ * const mcpConfigurations = await prisma.mcpConfiguration.findMany({ take: 10 })
374
+ *
375
+ * // Only select the `fleetId`
376
+ * const mcpConfigurationWithFleetIdOnly = await prisma.mcpConfiguration.findMany({ select: { fleetId: true } })
377
+ *
378
+ */
379
+ findMany<T extends McpConfigurationFindManyArgs>(args?: Prisma.SelectSubset<T, McpConfigurationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpConfigurationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
380
+ /**
381
+ * Create a McpConfiguration.
382
+ * @param {McpConfigurationCreateArgs} args - Arguments to create a McpConfiguration.
383
+ * @example
384
+ * // Create one McpConfiguration
385
+ * const McpConfiguration = await prisma.mcpConfiguration.create({
386
+ * data: {
387
+ * // ... data to create a McpConfiguration
388
+ * }
389
+ * })
390
+ *
391
+ */
392
+ create<T extends McpConfigurationCreateArgs>(args: Prisma.SelectSubset<T, McpConfigurationCreateArgs<ExtArgs>>): Prisma.Prisma__McpConfigurationClient<runtime.Types.Result.GetResult<Prisma.$McpConfigurationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
393
+ /**
394
+ * Create many McpConfigurations.
395
+ * @param {McpConfigurationCreateManyArgs} args - Arguments to create many McpConfigurations.
396
+ * @example
397
+ * // Create many McpConfigurations
398
+ * const mcpConfiguration = await prisma.mcpConfiguration.createMany({
399
+ * data: [
400
+ * // ... provide data here
401
+ * ]
402
+ * })
403
+ *
404
+ */
405
+ createMany<T extends McpConfigurationCreateManyArgs>(args?: Prisma.SelectSubset<T, McpConfigurationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
406
+ /**
407
+ * Create many McpConfigurations and returns the data saved in the database.
408
+ * @param {McpConfigurationCreateManyAndReturnArgs} args - Arguments to create many McpConfigurations.
409
+ * @example
410
+ * // Create many McpConfigurations
411
+ * const mcpConfiguration = await prisma.mcpConfiguration.createManyAndReturn({
412
+ * data: [
413
+ * // ... provide data here
414
+ * ]
415
+ * })
416
+ *
417
+ * // Create many McpConfigurations and only return the `fleetId`
418
+ * const mcpConfigurationWithFleetIdOnly = await prisma.mcpConfiguration.createManyAndReturn({
419
+ * select: { fleetId: true },
420
+ * data: [
421
+ * // ... provide data here
422
+ * ]
423
+ * })
424
+ * Note, that providing `undefined` is treated as the value not being there.
425
+ * Read more here: https://pris.ly/d/null-undefined
426
+ *
427
+ */
428
+ createManyAndReturn<T extends McpConfigurationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, McpConfigurationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpConfigurationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
429
+ /**
430
+ * Delete a McpConfiguration.
431
+ * @param {McpConfigurationDeleteArgs} args - Arguments to delete one McpConfiguration.
432
+ * @example
433
+ * // Delete one McpConfiguration
434
+ * const McpConfiguration = await prisma.mcpConfiguration.delete({
435
+ * where: {
436
+ * // ... filter to delete one McpConfiguration
437
+ * }
438
+ * })
439
+ *
440
+ */
441
+ delete<T extends McpConfigurationDeleteArgs>(args: Prisma.SelectSubset<T, McpConfigurationDeleteArgs<ExtArgs>>): Prisma.Prisma__McpConfigurationClient<runtime.Types.Result.GetResult<Prisma.$McpConfigurationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
442
+ /**
443
+ * Update one McpConfiguration.
444
+ * @param {McpConfigurationUpdateArgs} args - Arguments to update one McpConfiguration.
445
+ * @example
446
+ * // Update one McpConfiguration
447
+ * const mcpConfiguration = await prisma.mcpConfiguration.update({
448
+ * where: {
449
+ * // ... provide filter here
450
+ * },
451
+ * data: {
452
+ * // ... provide data here
453
+ * }
454
+ * })
455
+ *
456
+ */
457
+ update<T extends McpConfigurationUpdateArgs>(args: Prisma.SelectSubset<T, McpConfigurationUpdateArgs<ExtArgs>>): Prisma.Prisma__McpConfigurationClient<runtime.Types.Result.GetResult<Prisma.$McpConfigurationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
458
+ /**
459
+ * Delete zero or more McpConfigurations.
460
+ * @param {McpConfigurationDeleteManyArgs} args - Arguments to filter McpConfigurations to delete.
461
+ * @example
462
+ * // Delete a few McpConfigurations
463
+ * const { count } = await prisma.mcpConfiguration.deleteMany({
464
+ * where: {
465
+ * // ... provide filter here
466
+ * }
467
+ * })
468
+ *
469
+ */
470
+ deleteMany<T extends McpConfigurationDeleteManyArgs>(args?: Prisma.SelectSubset<T, McpConfigurationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
471
+ /**
472
+ * Update zero or more McpConfigurations.
473
+ * Note, that providing `undefined` is treated as the value not being there.
474
+ * Read more here: https://pris.ly/d/null-undefined
475
+ * @param {McpConfigurationUpdateManyArgs} args - Arguments to update one or more rows.
476
+ * @example
477
+ * // Update many McpConfigurations
478
+ * const mcpConfiguration = await prisma.mcpConfiguration.updateMany({
479
+ * where: {
480
+ * // ... provide filter here
481
+ * },
482
+ * data: {
483
+ * // ... provide data here
484
+ * }
485
+ * })
486
+ *
487
+ */
488
+ updateMany<T extends McpConfigurationUpdateManyArgs>(args: Prisma.SelectSubset<T, McpConfigurationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
489
+ /**
490
+ * Update zero or more McpConfigurations and returns the data updated in the database.
491
+ * @param {McpConfigurationUpdateManyAndReturnArgs} args - Arguments to update many McpConfigurations.
492
+ * @example
493
+ * // Update many McpConfigurations
494
+ * const mcpConfiguration = await prisma.mcpConfiguration.updateManyAndReturn({
495
+ * where: {
496
+ * // ... provide filter here
497
+ * },
498
+ * data: [
499
+ * // ... provide data here
500
+ * ]
501
+ * })
502
+ *
503
+ * // Update zero or more McpConfigurations and only return the `fleetId`
504
+ * const mcpConfigurationWithFleetIdOnly = await prisma.mcpConfiguration.updateManyAndReturn({
505
+ * select: { fleetId: true },
506
+ * where: {
507
+ * // ... provide filter here
508
+ * },
509
+ * data: [
510
+ * // ... provide data here
511
+ * ]
512
+ * })
513
+ * Note, that providing `undefined` is treated as the value not being there.
514
+ * Read more here: https://pris.ly/d/null-undefined
515
+ *
516
+ */
517
+ updateManyAndReturn<T extends McpConfigurationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, McpConfigurationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpConfigurationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
518
+ /**
519
+ * Create or update one McpConfiguration.
520
+ * @param {McpConfigurationUpsertArgs} args - Arguments to update or create a McpConfiguration.
521
+ * @example
522
+ * // Update or create a McpConfiguration
523
+ * const mcpConfiguration = await prisma.mcpConfiguration.upsert({
524
+ * create: {
525
+ * // ... data to create a McpConfiguration
526
+ * },
527
+ * update: {
528
+ * // ... in case it already exists, update
529
+ * },
530
+ * where: {
531
+ * // ... the filter for the McpConfiguration we want to update
532
+ * }
533
+ * })
534
+ */
535
+ upsert<T extends McpConfigurationUpsertArgs>(args: Prisma.SelectSubset<T, McpConfigurationUpsertArgs<ExtArgs>>): Prisma.Prisma__McpConfigurationClient<runtime.Types.Result.GetResult<Prisma.$McpConfigurationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
536
+ /**
537
+ * Count the number of McpConfigurations.
538
+ * Note, that providing `undefined` is treated as the value not being there.
539
+ * Read more here: https://pris.ly/d/null-undefined
540
+ * @param {McpConfigurationCountArgs} args - Arguments to filter McpConfigurations to count.
541
+ * @example
542
+ * // Count the number of McpConfigurations
543
+ * const count = await prisma.mcpConfiguration.count({
544
+ * where: {
545
+ * // ... the filter for the McpConfigurations we want to count
546
+ * }
547
+ * })
548
+ **/
549
+ count<T extends McpConfigurationCountArgs>(args?: Prisma.Subset<T, McpConfigurationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], McpConfigurationCountAggregateOutputType> : number>;
550
+ /**
551
+ * Allows you to perform aggregations operations on a McpConfiguration.
552
+ * Note, that providing `undefined` is treated as the value not being there.
553
+ * Read more here: https://pris.ly/d/null-undefined
554
+ * @param {McpConfigurationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
555
+ * @example
556
+ * // Ordered by age ascending
557
+ * // Where email contains prisma.io
558
+ * // Limited to the 10 users
559
+ * const aggregations = await prisma.user.aggregate({
560
+ * _avg: {
561
+ * age: true,
562
+ * },
563
+ * where: {
564
+ * email: {
565
+ * contains: "prisma.io",
566
+ * },
567
+ * },
568
+ * orderBy: {
569
+ * age: "asc",
570
+ * },
571
+ * take: 10,
572
+ * })
573
+ **/
574
+ aggregate<T extends McpConfigurationAggregateArgs>(args: Prisma.Subset<T, McpConfigurationAggregateArgs>): Prisma.PrismaPromise<GetMcpConfigurationAggregateType<T>>;
575
+ /**
576
+ * Group by McpConfiguration.
577
+ * Note, that providing `undefined` is treated as the value not being there.
578
+ * Read more here: https://pris.ly/d/null-undefined
579
+ * @param {McpConfigurationGroupByArgs} args - Group by arguments.
580
+ * @example
581
+ * // Group by city, order by createdAt, get count
582
+ * const result = await prisma.user.groupBy({
583
+ * by: ['city', 'createdAt'],
584
+ * orderBy: {
585
+ * createdAt: true
586
+ * },
587
+ * _count: {
588
+ * _all: true
589
+ * },
590
+ * })
591
+ *
592
+ **/
593
+ groupBy<T extends McpConfigurationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
594
+ orderBy: McpConfigurationGroupByArgs['orderBy'];
595
+ } : {
596
+ orderBy?: McpConfigurationGroupByArgs['orderBy'];
597
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
598
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
599
+ Error,
600
+ 'Field ',
601
+ P,
602
+ ` in "having" needs to be provided in "by"`
603
+ ];
604
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
605
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
606
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
607
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
608
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
609
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
610
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, McpConfigurationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMcpConfigurationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
611
+ /**
612
+ * Fields of the McpConfiguration model
613
+ */
614
+ readonly fields: McpConfigurationFieldRefs;
615
+ }
616
+ /**
617
+ * The delegate class that acts as a "Promise-like" for McpConfiguration.
618
+ * Why is this prefixed with `Prisma__`?
619
+ * Because we want to prevent naming conflicts as mentioned in
620
+ * https://github.com/prisma/prisma-client-js/issues/707
621
+ */
622
+ export interface Prisma__McpConfigurationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
623
+ readonly [Symbol.toStringTag]: "PrismaPromise";
624
+ /**
625
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
626
+ * @param onfulfilled The callback to execute when the Promise is resolved.
627
+ * @param onrejected The callback to execute when the Promise is rejected.
628
+ * @returns A Promise for the completion of which ever callback is executed.
629
+ */
630
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
631
+ /**
632
+ * Attaches a callback for only the rejection of the Promise.
633
+ * @param onrejected The callback to execute when the Promise is rejected.
634
+ * @returns A Promise for the completion of the callback.
635
+ */
636
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
637
+ /**
638
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
639
+ * resolved value cannot be modified from the callback.
640
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
641
+ * @returns A Promise for the completion of the callback.
642
+ */
643
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
644
+ }
645
+ /**
646
+ * Fields of the McpConfiguration model
647
+ */
648
+ export interface McpConfigurationFieldRefs {
649
+ readonly fleetId: Prisma.FieldRef<"McpConfiguration", 'String'>;
650
+ readonly version: Prisma.FieldRef<"McpConfiguration", 'Int'>;
651
+ readonly servers: Prisma.FieldRef<"McpConfiguration", 'Json'>;
652
+ readonly replacedAt: Prisma.FieldRef<"McpConfiguration", 'DateTime'>;
653
+ }
654
+ /**
655
+ * McpConfiguration findUnique
656
+ */
657
+ export type McpConfigurationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
658
+ /**
659
+ * Select specific fields to fetch from the McpConfiguration
660
+ */
661
+ select?: Prisma.McpConfigurationSelect<ExtArgs> | null;
662
+ /**
663
+ * Omit specific fields from the McpConfiguration
664
+ */
665
+ omit?: Prisma.McpConfigurationOmit<ExtArgs> | null;
666
+ /**
667
+ * Filter, which McpConfiguration to fetch.
668
+ */
669
+ where: Prisma.McpConfigurationWhereUniqueInput;
670
+ };
671
+ /**
672
+ * McpConfiguration findUniqueOrThrow
673
+ */
674
+ export type McpConfigurationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
675
+ /**
676
+ * Select specific fields to fetch from the McpConfiguration
677
+ */
678
+ select?: Prisma.McpConfigurationSelect<ExtArgs> | null;
679
+ /**
680
+ * Omit specific fields from the McpConfiguration
681
+ */
682
+ omit?: Prisma.McpConfigurationOmit<ExtArgs> | null;
683
+ /**
684
+ * Filter, which McpConfiguration to fetch.
685
+ */
686
+ where: Prisma.McpConfigurationWhereUniqueInput;
687
+ };
688
+ /**
689
+ * McpConfiguration findFirst
690
+ */
691
+ export type McpConfigurationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
692
+ /**
693
+ * Select specific fields to fetch from the McpConfiguration
694
+ */
695
+ select?: Prisma.McpConfigurationSelect<ExtArgs> | null;
696
+ /**
697
+ * Omit specific fields from the McpConfiguration
698
+ */
699
+ omit?: Prisma.McpConfigurationOmit<ExtArgs> | null;
700
+ /**
701
+ * Filter, which McpConfiguration to fetch.
702
+ */
703
+ where?: Prisma.McpConfigurationWhereInput;
704
+ /**
705
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
706
+ *
707
+ * Determine the order of McpConfigurations to fetch.
708
+ */
709
+ orderBy?: Prisma.McpConfigurationOrderByWithRelationInput | Prisma.McpConfigurationOrderByWithRelationInput[];
710
+ /**
711
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
712
+ *
713
+ * Sets the position for searching for McpConfigurations.
714
+ */
715
+ cursor?: Prisma.McpConfigurationWhereUniqueInput;
716
+ /**
717
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
718
+ *
719
+ * Take `±n` McpConfigurations from the position of the cursor.
720
+ */
721
+ take?: number;
722
+ /**
723
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
724
+ *
725
+ * Skip the first `n` McpConfigurations.
726
+ */
727
+ skip?: number;
728
+ /**
729
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
730
+ *
731
+ * Filter by unique combinations of McpConfigurations.
732
+ */
733
+ distinct?: Prisma.McpConfigurationScalarFieldEnum | Prisma.McpConfigurationScalarFieldEnum[];
734
+ };
735
+ /**
736
+ * McpConfiguration findFirstOrThrow
737
+ */
738
+ export type McpConfigurationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
739
+ /**
740
+ * Select specific fields to fetch from the McpConfiguration
741
+ */
742
+ select?: Prisma.McpConfigurationSelect<ExtArgs> | null;
743
+ /**
744
+ * Omit specific fields from the McpConfiguration
745
+ */
746
+ omit?: Prisma.McpConfigurationOmit<ExtArgs> | null;
747
+ /**
748
+ * Filter, which McpConfiguration to fetch.
749
+ */
750
+ where?: Prisma.McpConfigurationWhereInput;
751
+ /**
752
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
753
+ *
754
+ * Determine the order of McpConfigurations to fetch.
755
+ */
756
+ orderBy?: Prisma.McpConfigurationOrderByWithRelationInput | Prisma.McpConfigurationOrderByWithRelationInput[];
757
+ /**
758
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
759
+ *
760
+ * Sets the position for searching for McpConfigurations.
761
+ */
762
+ cursor?: Prisma.McpConfigurationWhereUniqueInput;
763
+ /**
764
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
765
+ *
766
+ * Take `±n` McpConfigurations from the position of the cursor.
767
+ */
768
+ take?: number;
769
+ /**
770
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
771
+ *
772
+ * Skip the first `n` McpConfigurations.
773
+ */
774
+ skip?: number;
775
+ /**
776
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
777
+ *
778
+ * Filter by unique combinations of McpConfigurations.
779
+ */
780
+ distinct?: Prisma.McpConfigurationScalarFieldEnum | Prisma.McpConfigurationScalarFieldEnum[];
781
+ };
782
+ /**
783
+ * McpConfiguration findMany
784
+ */
785
+ export type McpConfigurationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
786
+ /**
787
+ * Select specific fields to fetch from the McpConfiguration
788
+ */
789
+ select?: Prisma.McpConfigurationSelect<ExtArgs> | null;
790
+ /**
791
+ * Omit specific fields from the McpConfiguration
792
+ */
793
+ omit?: Prisma.McpConfigurationOmit<ExtArgs> | null;
794
+ /**
795
+ * Filter, which McpConfigurations to fetch.
796
+ */
797
+ where?: Prisma.McpConfigurationWhereInput;
798
+ /**
799
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
800
+ *
801
+ * Determine the order of McpConfigurations to fetch.
802
+ */
803
+ orderBy?: Prisma.McpConfigurationOrderByWithRelationInput | Prisma.McpConfigurationOrderByWithRelationInput[];
804
+ /**
805
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
806
+ *
807
+ * Sets the position for listing McpConfigurations.
808
+ */
809
+ cursor?: Prisma.McpConfigurationWhereUniqueInput;
810
+ /**
811
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
812
+ *
813
+ * Take `±n` McpConfigurations from the position of the cursor.
814
+ */
815
+ take?: number;
816
+ /**
817
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
818
+ *
819
+ * Skip the first `n` McpConfigurations.
820
+ */
821
+ skip?: number;
822
+ /**
823
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
824
+ *
825
+ * Filter by unique combinations of McpConfigurations.
826
+ */
827
+ distinct?: Prisma.McpConfigurationScalarFieldEnum | Prisma.McpConfigurationScalarFieldEnum[];
828
+ };
829
+ /**
830
+ * McpConfiguration create
831
+ */
832
+ export type McpConfigurationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
833
+ /**
834
+ * Select specific fields to fetch from the McpConfiguration
835
+ */
836
+ select?: Prisma.McpConfigurationSelect<ExtArgs> | null;
837
+ /**
838
+ * Omit specific fields from the McpConfiguration
839
+ */
840
+ omit?: Prisma.McpConfigurationOmit<ExtArgs> | null;
841
+ /**
842
+ * The data needed to create a McpConfiguration.
843
+ */
844
+ data: Prisma.XOR<Prisma.McpConfigurationCreateInput, Prisma.McpConfigurationUncheckedCreateInput>;
845
+ };
846
+ /**
847
+ * McpConfiguration createMany
848
+ */
849
+ export type McpConfigurationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
850
+ /**
851
+ * The data used to create many McpConfigurations.
852
+ */
853
+ data: Prisma.McpConfigurationCreateManyInput | Prisma.McpConfigurationCreateManyInput[];
854
+ skipDuplicates?: boolean;
855
+ };
856
+ /**
857
+ * McpConfiguration createManyAndReturn
858
+ */
859
+ export type McpConfigurationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
860
+ /**
861
+ * Select specific fields to fetch from the McpConfiguration
862
+ */
863
+ select?: Prisma.McpConfigurationSelectCreateManyAndReturn<ExtArgs> | null;
864
+ /**
865
+ * Omit specific fields from the McpConfiguration
866
+ */
867
+ omit?: Prisma.McpConfigurationOmit<ExtArgs> | null;
868
+ /**
869
+ * The data used to create many McpConfigurations.
870
+ */
871
+ data: Prisma.McpConfigurationCreateManyInput | Prisma.McpConfigurationCreateManyInput[];
872
+ skipDuplicates?: boolean;
873
+ };
874
+ /**
875
+ * McpConfiguration update
876
+ */
877
+ export type McpConfigurationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
878
+ /**
879
+ * Select specific fields to fetch from the McpConfiguration
880
+ */
881
+ select?: Prisma.McpConfigurationSelect<ExtArgs> | null;
882
+ /**
883
+ * Omit specific fields from the McpConfiguration
884
+ */
885
+ omit?: Prisma.McpConfigurationOmit<ExtArgs> | null;
886
+ /**
887
+ * The data needed to update a McpConfiguration.
888
+ */
889
+ data: Prisma.XOR<Prisma.McpConfigurationUpdateInput, Prisma.McpConfigurationUncheckedUpdateInput>;
890
+ /**
891
+ * Choose, which McpConfiguration to update.
892
+ */
893
+ where: Prisma.McpConfigurationWhereUniqueInput;
894
+ };
895
+ /**
896
+ * McpConfiguration updateMany
897
+ */
898
+ export type McpConfigurationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
899
+ /**
900
+ * The data used to update McpConfigurations.
901
+ */
902
+ data: Prisma.XOR<Prisma.McpConfigurationUpdateManyMutationInput, Prisma.McpConfigurationUncheckedUpdateManyInput>;
903
+ /**
904
+ * Filter which McpConfigurations to update
905
+ */
906
+ where?: Prisma.McpConfigurationWhereInput;
907
+ /**
908
+ * Limit how many McpConfigurations to update.
909
+ */
910
+ limit?: number;
911
+ };
912
+ /**
913
+ * McpConfiguration updateManyAndReturn
914
+ */
915
+ export type McpConfigurationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
916
+ /**
917
+ * Select specific fields to fetch from the McpConfiguration
918
+ */
919
+ select?: Prisma.McpConfigurationSelectUpdateManyAndReturn<ExtArgs> | null;
920
+ /**
921
+ * Omit specific fields from the McpConfiguration
922
+ */
923
+ omit?: Prisma.McpConfigurationOmit<ExtArgs> | null;
924
+ /**
925
+ * The data used to update McpConfigurations.
926
+ */
927
+ data: Prisma.XOR<Prisma.McpConfigurationUpdateManyMutationInput, Prisma.McpConfigurationUncheckedUpdateManyInput>;
928
+ /**
929
+ * Filter which McpConfigurations to update
930
+ */
931
+ where?: Prisma.McpConfigurationWhereInput;
932
+ /**
933
+ * Limit how many McpConfigurations to update.
934
+ */
935
+ limit?: number;
936
+ };
937
+ /**
938
+ * McpConfiguration upsert
939
+ */
940
+ export type McpConfigurationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
941
+ /**
942
+ * Select specific fields to fetch from the McpConfiguration
943
+ */
944
+ select?: Prisma.McpConfigurationSelect<ExtArgs> | null;
945
+ /**
946
+ * Omit specific fields from the McpConfiguration
947
+ */
948
+ omit?: Prisma.McpConfigurationOmit<ExtArgs> | null;
949
+ /**
950
+ * The filter to search for the McpConfiguration to update in case it exists.
951
+ */
952
+ where: Prisma.McpConfigurationWhereUniqueInput;
953
+ /**
954
+ * In case the McpConfiguration found by the `where` argument doesn't exist, create a new McpConfiguration with this data.
955
+ */
956
+ create: Prisma.XOR<Prisma.McpConfigurationCreateInput, Prisma.McpConfigurationUncheckedCreateInput>;
957
+ /**
958
+ * In case the McpConfiguration was found with the provided `where` argument, update it with this data.
959
+ */
960
+ update: Prisma.XOR<Prisma.McpConfigurationUpdateInput, Prisma.McpConfigurationUncheckedUpdateInput>;
961
+ };
962
+ /**
963
+ * McpConfiguration delete
964
+ */
965
+ export type McpConfigurationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
966
+ /**
967
+ * Select specific fields to fetch from the McpConfiguration
968
+ */
969
+ select?: Prisma.McpConfigurationSelect<ExtArgs> | null;
970
+ /**
971
+ * Omit specific fields from the McpConfiguration
972
+ */
973
+ omit?: Prisma.McpConfigurationOmit<ExtArgs> | null;
974
+ /**
975
+ * Filter which McpConfiguration to delete.
976
+ */
977
+ where: Prisma.McpConfigurationWhereUniqueInput;
978
+ };
979
+ /**
980
+ * McpConfiguration deleteMany
981
+ */
982
+ export type McpConfigurationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
983
+ /**
984
+ * Filter which McpConfigurations to delete
985
+ */
986
+ where?: Prisma.McpConfigurationWhereInput;
987
+ /**
988
+ * Limit how many McpConfigurations to delete.
989
+ */
990
+ limit?: number;
991
+ };
992
+ /**
993
+ * McpConfiguration without action
994
+ */
995
+ export type McpConfigurationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
996
+ /**
997
+ * Select specific fields to fetch from the McpConfiguration
998
+ */
999
+ select?: Prisma.McpConfigurationSelect<ExtArgs> | null;
1000
+ /**
1001
+ * Omit specific fields from the McpConfiguration
1002
+ */
1003
+ omit?: Prisma.McpConfigurationOmit<ExtArgs> | null;
1004
+ };