@wardby/cli 0.2.0 → 0.2.1
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/README.md +142 -67
- package/dist/claude-coding-worker/driver.d.ts +1 -0
- package/dist/claude-coding-worker/driver.js +4 -1
- package/dist/claude-coding-worker/main.js +3 -2
- package/dist/coding/protocol.d.ts +28 -3
- package/dist/coding/protocol.js +53 -2
- package/dist/coding-worker/artifact.d.ts +12 -0
- package/dist/coding-worker/artifact.js +48 -6
- package/dist/coding-worker/driver.d.ts +1 -0
- package/dist/coding-worker/driver.js +4 -1
- package/dist/coding-worker/errors.d.ts +7 -0
- package/dist/coding-worker/errors.js +18 -0
- package/dist/coding-worker/main.js +3 -2
- package/dist/core/budget-groups.d.ts +1 -1
- package/dist/core/coding-queue.d.ts +1 -1
- package/dist/core/datastores.d.ts +1 -1
- package/dist/core/db.d.ts +36 -2
- package/dist/core/db.js +69 -2
- package/dist/core/dispatch.d.ts +16 -1
- package/dist/core/dispatch.js +33 -5
- package/dist/core/http-runtime.js +3 -4
- package/dist/core/lease.d.ts +1 -1
- package/dist/core/private-directory.d.ts +20 -0
- package/dist/core/private-directory.js +36 -0
- package/dist/core/reconciler.d.ts +1 -1
- package/dist/core/runner.d.ts +1 -1
- package/dist/core/scheduler.d.ts +1 -1
- package/dist/core/secrets.d.ts +1 -1
- package/dist/core/subagent-memory-tools.d.ts +1 -1
- package/dist/core/webhooks.d.ts +1 -1
- package/dist/generated/prisma/browser.d.ts +228 -0
- package/dist/generated/prisma/browser.js +17 -0
- package/dist/generated/prisma/client.d.ts +247 -0
- package/dist/generated/prisma/client.js +34 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +809 -0
- package/dist/generated/prisma/commonInputTypes.js +10 -0
- package/dist/generated/prisma/enums.d.ts +53 -0
- package/dist/generated/prisma/enums.js +54 -0
- package/dist/generated/prisma/internal/class.d.ts +462 -0
- package/dist/generated/prisma/internal/class.js +49 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +3325 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +455 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +449 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +426 -0
- package/dist/generated/prisma/models/Agent.d.ts +3267 -0
- package/dist/generated/prisma/models/Agent.js +1 -0
- package/dist/generated/prisma/models/AgentDatastore.d.ts +1210 -0
- package/dist/generated/prisma/models/AgentDatastore.js +1 -0
- package/dist/generated/prisma/models/AgentMemory.d.ts +986 -0
- package/dist/generated/prisma/models/AgentMemory.js +1 -0
- package/dist/generated/prisma/models/AgentSecret.d.ts +1212 -0
- package/dist/generated/prisma/models/AgentSecret.js +1 -0
- package/dist/generated/prisma/models/AgentSubAgent.d.ts +1217 -0
- package/dist/generated/prisma/models/AgentSubAgent.js +1 -0
- package/dist/generated/prisma/models/AgentTool.d.ts +1309 -0
- package/dist/generated/prisma/models/AgentTool.js +1 -0
- package/dist/generated/prisma/models/AuthFormChallenge.d.ts +1298 -0
- package/dist/generated/prisma/models/AuthFormChallenge.js +1 -0
- package/dist/generated/prisma/models/AuthLoginKey.d.ts +1245 -0
- package/dist/generated/prisma/models/AuthLoginKey.js +1 -0
- package/dist/generated/prisma/models/AuthRateLimit.d.ts +979 -0
- package/dist/generated/prisma/models/AuthRateLimit.js +1 -0
- package/dist/generated/prisma/models/AuthSession.d.ts +1376 -0
- package/dist/generated/prisma/models/AuthSession.js +1 -0
- package/dist/generated/prisma/models/AuthUser.d.ts +1645 -0
- package/dist/generated/prisma/models/AuthUser.js +1 -0
- package/dist/generated/prisma/models/BudgetGroup.d.ts +1548 -0
- package/dist/generated/prisma/models/BudgetGroup.js +1 -0
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +1430 -0
- package/dist/generated/prisma/models/CodingAgentProfile.js +1 -0
- package/dist/generated/prisma/models/CodingProxyRequest.d.ts +1749 -0
- package/dist/generated/prisma/models/CodingProxyRequest.js +1 -0
- package/dist/generated/prisma/models/CodingProxySession.d.ts +1505 -0
- package/dist/generated/prisma/models/CodingProxySession.js +1 -0
- package/dist/generated/prisma/models/CodingRun.d.ts +2402 -0
- package/dist/generated/prisma/models/CodingRun.js +1 -0
- package/dist/generated/prisma/models/Datastore.d.ts +1434 -0
- package/dist/generated/prisma/models/Datastore.js +1 -0
- package/dist/generated/prisma/models/DatastoreEntry.d.ts +1314 -0
- package/dist/generated/prisma/models/DatastoreEntry.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.d.ts +1526 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.d.ts +1350 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.js +1 -0
- package/dist/generated/prisma/models/OAuthClient.d.ts +1289 -0
- package/dist/generated/prisma/models/OAuthClient.js +1 -0
- package/dist/generated/prisma/models/OAuthFamily.d.ts +1540 -0
- package/dist/generated/prisma/models/OAuthFamily.js +1 -0
- package/dist/generated/prisma/models/OAuthGrant.d.ts +1280 -0
- package/dist/generated/prisma/models/OAuthGrant.js +1 -0
- package/dist/generated/prisma/models/Principal.d.ts +1790 -0
- package/dist/generated/prisma/models/Principal.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +2281 -0
- package/dist/generated/prisma/models/Run.js +1 -0
- package/dist/generated/prisma/models/SchedulerLease.d.ts +970 -0
- package/dist/generated/prisma/models/SchedulerLease.js +1 -0
- package/dist/generated/prisma/models/Secret.d.ts +1399 -0
- package/dist/generated/prisma/models/Secret.js +1 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.d.ts +973 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.js +1 -0
- package/dist/generated/prisma/models/Task.d.ts +1176 -0
- package/dist/generated/prisma/models/Task.js +1 -0
- package/dist/generated/prisma/models/Tool.d.ts +1478 -0
- package/dist/generated/prisma/models/Tool.js +1 -0
- package/dist/generated/prisma/models/Webhook.d.ts +1386 -0
- package/dist/generated/prisma/models/Webhook.js +1 -0
- package/dist/generated/prisma/models.d.ts +32 -0
- package/dist/generated/prisma/models.js +1 -0
- package/dist/import/create.d.ts +1 -1
- package/dist/import/create.js +1 -1
- package/dist/import/index.d.ts +1 -1
- package/dist/mcp/auth/ownership.d.ts +19 -19
- package/dist/mcp/auth/principal.d.ts +1 -1
- package/dist/mcp/auth/resource-server.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/browser.js +20 -6
- package/dist/mcp/auth/self-hosted/cli.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/credentials.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/rate-limit.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/session.d.ts +1 -1
- package/dist/mcp/context.d.ts +1 -1
- package/dist/mcp/server.d.ts +1 -1
- package/dist/mcp/shared/page-style.d.ts +16 -0
- package/dist/mcp/shared/page-style.js +129 -0
- package/dist/mcp/tasks/manager.d.ts +1 -1
- package/dist/mcp/tools/agents.js +1 -1
- package/dist/mcp/tools/datastore.js +1 -1
- package/dist/mcp/tools/scheduling.js +1 -1
- package/dist/mcp/tools/secret-elicitation-form.d.ts +1 -1
- package/dist/mcp/tools/secret-elicitation-form.js +10 -28
- package/dist/mcp/tools/secret-elicitation.d.ts +1 -1
- package/dist/mcp/tools/subagents.js +1 -1
- package/dist/mcp/tools/tools.js +1 -1
- package/dist/mcp/transport/streamable-http.d.ts +1 -1
- package/dist/mcp/unattended-schedules.d.ts +1 -1
- package/dist/mcp/webhooks/ingress.d.ts +1 -1
- package/dist/providers/auth/index.d.ts +1 -1
- package/dist/providers/auth/self-hosted.d.ts +2 -2
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +1 -1
- package/dist/providers/coding-proxy/runtime.d.ts +1 -1
- package/dist/providers/datastore/postgres.d.ts +1 -1
- package/dist/providers/executor/build.d.ts +1 -1
- package/dist/providers/executor/composition.d.ts +1 -1
- package/dist/providers/executor/container.d.ts +1 -1
- package/dist/providers/executor/container.js +10 -3
- package/dist/providers/executor/dbos.d.ts +1 -1
- package/dist/providers/jobs/docker.d.ts +11 -0
- package/dist/providers/jobs/docker.js +34 -18
- package/dist/providers/jobs/kubernetes.js +5 -10
- package/dist/providers/jobs/types.d.ts +2 -0
- package/dist/providers/memory/postgres.d.ts +1 -1
- package/dist/providers/vcs/git.js +2 -1
- package/dist/quickstart/index.js +22 -31
- package/dist/quickstart/migrate.d.ts +23 -0
- package/dist/quickstart/migrate.js +125 -0
- package/package.json +20 -10
- package/prisma/migrate.config.mjs +20 -0
- package/prisma/schema.prisma +10 -2
|
@@ -0,0 +1,1430 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model CodingAgentProfile
|
|
5
|
+
* Phase 5: owner-configured coding behavior. Runtime credentials and opaque
|
|
6
|
+
* launcher handles never live on the reusable profile.
|
|
7
|
+
*/
|
|
8
|
+
export type CodingAgentProfileModel = runtime.Types.Result.DefaultSelection<Prisma.$CodingAgentProfilePayload>;
|
|
9
|
+
export type AggregateCodingAgentProfile = {
|
|
10
|
+
_count: CodingAgentProfileCountAggregateOutputType | null;
|
|
11
|
+
_avg: CodingAgentProfileAvgAggregateOutputType | null;
|
|
12
|
+
_sum: CodingAgentProfileSumAggregateOutputType | null;
|
|
13
|
+
_min: CodingAgentProfileMinAggregateOutputType | null;
|
|
14
|
+
_max: CodingAgentProfileMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type CodingAgentProfileAvgAggregateOutputType = {
|
|
17
|
+
timeoutSec: number | null;
|
|
18
|
+
workspaceDiskMb: number | null;
|
|
19
|
+
};
|
|
20
|
+
export type CodingAgentProfileSumAggregateOutputType = {
|
|
21
|
+
timeoutSec: number | null;
|
|
22
|
+
workspaceDiskMb: number | null;
|
|
23
|
+
};
|
|
24
|
+
export type CodingAgentProfileMinAggregateOutputType = {
|
|
25
|
+
agentId: string | null;
|
|
26
|
+
provider: string | null;
|
|
27
|
+
repository: string | null;
|
|
28
|
+
baseRef: string | null;
|
|
29
|
+
defaultTask: string | null;
|
|
30
|
+
allowWebhookTaskOverride: boolean | null;
|
|
31
|
+
timeoutSec: number | null;
|
|
32
|
+
toolchain: string | null;
|
|
33
|
+
toolchainVersion: string | null;
|
|
34
|
+
workerImageRef: string | null;
|
|
35
|
+
workspaceDiskMb: number | null;
|
|
36
|
+
};
|
|
37
|
+
export type CodingAgentProfileMaxAggregateOutputType = {
|
|
38
|
+
agentId: string | null;
|
|
39
|
+
provider: string | null;
|
|
40
|
+
repository: string | null;
|
|
41
|
+
baseRef: string | null;
|
|
42
|
+
defaultTask: string | null;
|
|
43
|
+
allowWebhookTaskOverride: boolean | null;
|
|
44
|
+
timeoutSec: number | null;
|
|
45
|
+
toolchain: string | null;
|
|
46
|
+
toolchainVersion: string | null;
|
|
47
|
+
workerImageRef: string | null;
|
|
48
|
+
workspaceDiskMb: number | null;
|
|
49
|
+
};
|
|
50
|
+
export type CodingAgentProfileCountAggregateOutputType = {
|
|
51
|
+
agentId: number;
|
|
52
|
+
provider: number;
|
|
53
|
+
repository: number;
|
|
54
|
+
baseRef: number;
|
|
55
|
+
defaultTask: number;
|
|
56
|
+
allowWebhookTaskOverride: number;
|
|
57
|
+
timeoutSec: number;
|
|
58
|
+
allowedEgress: number;
|
|
59
|
+
protectedPaths: number;
|
|
60
|
+
toolchain: number;
|
|
61
|
+
toolchainVersion: number;
|
|
62
|
+
workerImageRef: number;
|
|
63
|
+
workspaceDiskMb: number;
|
|
64
|
+
_all: number;
|
|
65
|
+
};
|
|
66
|
+
export type CodingAgentProfileAvgAggregateInputType = {
|
|
67
|
+
timeoutSec?: true;
|
|
68
|
+
workspaceDiskMb?: true;
|
|
69
|
+
};
|
|
70
|
+
export type CodingAgentProfileSumAggregateInputType = {
|
|
71
|
+
timeoutSec?: true;
|
|
72
|
+
workspaceDiskMb?: true;
|
|
73
|
+
};
|
|
74
|
+
export type CodingAgentProfileMinAggregateInputType = {
|
|
75
|
+
agentId?: true;
|
|
76
|
+
provider?: true;
|
|
77
|
+
repository?: true;
|
|
78
|
+
baseRef?: true;
|
|
79
|
+
defaultTask?: true;
|
|
80
|
+
allowWebhookTaskOverride?: true;
|
|
81
|
+
timeoutSec?: true;
|
|
82
|
+
toolchain?: true;
|
|
83
|
+
toolchainVersion?: true;
|
|
84
|
+
workerImageRef?: true;
|
|
85
|
+
workspaceDiskMb?: true;
|
|
86
|
+
};
|
|
87
|
+
export type CodingAgentProfileMaxAggregateInputType = {
|
|
88
|
+
agentId?: true;
|
|
89
|
+
provider?: true;
|
|
90
|
+
repository?: true;
|
|
91
|
+
baseRef?: true;
|
|
92
|
+
defaultTask?: true;
|
|
93
|
+
allowWebhookTaskOverride?: true;
|
|
94
|
+
timeoutSec?: true;
|
|
95
|
+
toolchain?: true;
|
|
96
|
+
toolchainVersion?: true;
|
|
97
|
+
workerImageRef?: true;
|
|
98
|
+
workspaceDiskMb?: true;
|
|
99
|
+
};
|
|
100
|
+
export type CodingAgentProfileCountAggregateInputType = {
|
|
101
|
+
agentId?: true;
|
|
102
|
+
provider?: true;
|
|
103
|
+
repository?: true;
|
|
104
|
+
baseRef?: true;
|
|
105
|
+
defaultTask?: true;
|
|
106
|
+
allowWebhookTaskOverride?: true;
|
|
107
|
+
timeoutSec?: true;
|
|
108
|
+
allowedEgress?: true;
|
|
109
|
+
protectedPaths?: true;
|
|
110
|
+
toolchain?: true;
|
|
111
|
+
toolchainVersion?: true;
|
|
112
|
+
workerImageRef?: true;
|
|
113
|
+
workspaceDiskMb?: true;
|
|
114
|
+
_all?: true;
|
|
115
|
+
};
|
|
116
|
+
export type CodingAgentProfileAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
117
|
+
/**
|
|
118
|
+
* Filter which CodingAgentProfile to aggregate.
|
|
119
|
+
*/
|
|
120
|
+
where?: Prisma.CodingAgentProfileWhereInput;
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
123
|
+
*
|
|
124
|
+
* Determine the order of CodingAgentProfiles to fetch.
|
|
125
|
+
*/
|
|
126
|
+
orderBy?: Prisma.CodingAgentProfileOrderByWithRelationInput | Prisma.CodingAgentProfileOrderByWithRelationInput[];
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
129
|
+
*
|
|
130
|
+
* Sets the start position
|
|
131
|
+
*/
|
|
132
|
+
cursor?: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
135
|
+
*
|
|
136
|
+
* Take `±n` CodingAgentProfiles from the position of the cursor.
|
|
137
|
+
*/
|
|
138
|
+
take?: number;
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
141
|
+
*
|
|
142
|
+
* Skip the first `n` CodingAgentProfiles.
|
|
143
|
+
*/
|
|
144
|
+
skip?: number;
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
+
*
|
|
148
|
+
* Count returned CodingAgentProfiles
|
|
149
|
+
**/
|
|
150
|
+
_count?: true | CodingAgentProfileCountAggregateInputType;
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
153
|
+
*
|
|
154
|
+
* Select which fields to average
|
|
155
|
+
**/
|
|
156
|
+
_avg?: CodingAgentProfileAvgAggregateInputType;
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
159
|
+
*
|
|
160
|
+
* Select which fields to sum
|
|
161
|
+
**/
|
|
162
|
+
_sum?: CodingAgentProfileSumAggregateInputType;
|
|
163
|
+
/**
|
|
164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
165
|
+
*
|
|
166
|
+
* Select which fields to find the minimum value
|
|
167
|
+
**/
|
|
168
|
+
_min?: CodingAgentProfileMinAggregateInputType;
|
|
169
|
+
/**
|
|
170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
171
|
+
*
|
|
172
|
+
* Select which fields to find the maximum value
|
|
173
|
+
**/
|
|
174
|
+
_max?: CodingAgentProfileMaxAggregateInputType;
|
|
175
|
+
};
|
|
176
|
+
export type GetCodingAgentProfileAggregateType<T extends CodingAgentProfileAggregateArgs> = {
|
|
177
|
+
[P in keyof T & keyof AggregateCodingAgentProfile]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateCodingAgentProfile[P]> : Prisma.GetScalarType<T[P], AggregateCodingAgentProfile[P]>;
|
|
178
|
+
};
|
|
179
|
+
export type CodingAgentProfileGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
180
|
+
where?: Prisma.CodingAgentProfileWhereInput;
|
|
181
|
+
orderBy?: Prisma.CodingAgentProfileOrderByWithAggregationInput | Prisma.CodingAgentProfileOrderByWithAggregationInput[];
|
|
182
|
+
by: Prisma.CodingAgentProfileScalarFieldEnum[] | Prisma.CodingAgentProfileScalarFieldEnum;
|
|
183
|
+
having?: Prisma.CodingAgentProfileScalarWhereWithAggregatesInput;
|
|
184
|
+
take?: number;
|
|
185
|
+
skip?: number;
|
|
186
|
+
_count?: CodingAgentProfileCountAggregateInputType | true;
|
|
187
|
+
_avg?: CodingAgentProfileAvgAggregateInputType;
|
|
188
|
+
_sum?: CodingAgentProfileSumAggregateInputType;
|
|
189
|
+
_min?: CodingAgentProfileMinAggregateInputType;
|
|
190
|
+
_max?: CodingAgentProfileMaxAggregateInputType;
|
|
191
|
+
};
|
|
192
|
+
export type CodingAgentProfileGroupByOutputType = {
|
|
193
|
+
agentId: string;
|
|
194
|
+
provider: string;
|
|
195
|
+
repository: string;
|
|
196
|
+
baseRef: string;
|
|
197
|
+
defaultTask: string | null;
|
|
198
|
+
allowWebhookTaskOverride: boolean;
|
|
199
|
+
timeoutSec: number;
|
|
200
|
+
allowedEgress: runtime.JsonValue;
|
|
201
|
+
protectedPaths: runtime.JsonValue;
|
|
202
|
+
toolchain: string;
|
|
203
|
+
toolchainVersion: string | null;
|
|
204
|
+
workerImageRef: string | null;
|
|
205
|
+
workspaceDiskMb: number | null;
|
|
206
|
+
_count: CodingAgentProfileCountAggregateOutputType | null;
|
|
207
|
+
_avg: CodingAgentProfileAvgAggregateOutputType | null;
|
|
208
|
+
_sum: CodingAgentProfileSumAggregateOutputType | null;
|
|
209
|
+
_min: CodingAgentProfileMinAggregateOutputType | null;
|
|
210
|
+
_max: CodingAgentProfileMaxAggregateOutputType | null;
|
|
211
|
+
};
|
|
212
|
+
export type GetCodingAgentProfileGroupByPayload<T extends CodingAgentProfileGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<CodingAgentProfileGroupByOutputType, T['by']> & {
|
|
213
|
+
[P in ((keyof T) & (keyof CodingAgentProfileGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], CodingAgentProfileGroupByOutputType[P]> : Prisma.GetScalarType<T[P], CodingAgentProfileGroupByOutputType[P]>;
|
|
214
|
+
}>>;
|
|
215
|
+
export type CodingAgentProfileWhereInput = {
|
|
216
|
+
AND?: Prisma.CodingAgentProfileWhereInput | Prisma.CodingAgentProfileWhereInput[];
|
|
217
|
+
OR?: Prisma.CodingAgentProfileWhereInput[];
|
|
218
|
+
NOT?: Prisma.CodingAgentProfileWhereInput | Prisma.CodingAgentProfileWhereInput[];
|
|
219
|
+
agentId?: Prisma.StringFilter<"CodingAgentProfile"> | string;
|
|
220
|
+
provider?: Prisma.StringFilter<"CodingAgentProfile"> | string;
|
|
221
|
+
repository?: Prisma.StringFilter<"CodingAgentProfile"> | string;
|
|
222
|
+
baseRef?: Prisma.StringFilter<"CodingAgentProfile"> | string;
|
|
223
|
+
defaultTask?: Prisma.StringNullableFilter<"CodingAgentProfile"> | string | null;
|
|
224
|
+
allowWebhookTaskOverride?: Prisma.BoolFilter<"CodingAgentProfile"> | boolean;
|
|
225
|
+
timeoutSec?: Prisma.IntFilter<"CodingAgentProfile"> | number;
|
|
226
|
+
allowedEgress?: Prisma.JsonFilter<"CodingAgentProfile">;
|
|
227
|
+
protectedPaths?: Prisma.JsonFilter<"CodingAgentProfile">;
|
|
228
|
+
toolchain?: Prisma.StringFilter<"CodingAgentProfile"> | string;
|
|
229
|
+
toolchainVersion?: Prisma.StringNullableFilter<"CodingAgentProfile"> | string | null;
|
|
230
|
+
workerImageRef?: Prisma.StringNullableFilter<"CodingAgentProfile"> | string | null;
|
|
231
|
+
workspaceDiskMb?: Prisma.IntNullableFilter<"CodingAgentProfile"> | number | null;
|
|
232
|
+
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>;
|
|
233
|
+
};
|
|
234
|
+
export type CodingAgentProfileOrderByWithRelationInput = {
|
|
235
|
+
agentId?: Prisma.SortOrder;
|
|
236
|
+
provider?: Prisma.SortOrder;
|
|
237
|
+
repository?: Prisma.SortOrder;
|
|
238
|
+
baseRef?: Prisma.SortOrder;
|
|
239
|
+
defaultTask?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
240
|
+
allowWebhookTaskOverride?: Prisma.SortOrder;
|
|
241
|
+
timeoutSec?: Prisma.SortOrder;
|
|
242
|
+
allowedEgress?: Prisma.SortOrder;
|
|
243
|
+
protectedPaths?: Prisma.SortOrder;
|
|
244
|
+
toolchain?: Prisma.SortOrder;
|
|
245
|
+
toolchainVersion?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
246
|
+
workerImageRef?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
247
|
+
workspaceDiskMb?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
248
|
+
agent?: Prisma.AgentOrderByWithRelationInput;
|
|
249
|
+
};
|
|
250
|
+
export type CodingAgentProfileWhereUniqueInput = Prisma.AtLeast<{
|
|
251
|
+
agentId?: string;
|
|
252
|
+
AND?: Prisma.CodingAgentProfileWhereInput | Prisma.CodingAgentProfileWhereInput[];
|
|
253
|
+
OR?: Prisma.CodingAgentProfileWhereInput[];
|
|
254
|
+
NOT?: Prisma.CodingAgentProfileWhereInput | Prisma.CodingAgentProfileWhereInput[];
|
|
255
|
+
provider?: Prisma.StringFilter<"CodingAgentProfile"> | string;
|
|
256
|
+
repository?: Prisma.StringFilter<"CodingAgentProfile"> | string;
|
|
257
|
+
baseRef?: Prisma.StringFilter<"CodingAgentProfile"> | string;
|
|
258
|
+
defaultTask?: Prisma.StringNullableFilter<"CodingAgentProfile"> | string | null;
|
|
259
|
+
allowWebhookTaskOverride?: Prisma.BoolFilter<"CodingAgentProfile"> | boolean;
|
|
260
|
+
timeoutSec?: Prisma.IntFilter<"CodingAgentProfile"> | number;
|
|
261
|
+
allowedEgress?: Prisma.JsonFilter<"CodingAgentProfile">;
|
|
262
|
+
protectedPaths?: Prisma.JsonFilter<"CodingAgentProfile">;
|
|
263
|
+
toolchain?: Prisma.StringFilter<"CodingAgentProfile"> | string;
|
|
264
|
+
toolchainVersion?: Prisma.StringNullableFilter<"CodingAgentProfile"> | string | null;
|
|
265
|
+
workerImageRef?: Prisma.StringNullableFilter<"CodingAgentProfile"> | string | null;
|
|
266
|
+
workspaceDiskMb?: Prisma.IntNullableFilter<"CodingAgentProfile"> | number | null;
|
|
267
|
+
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>;
|
|
268
|
+
}, "agentId">;
|
|
269
|
+
export type CodingAgentProfileOrderByWithAggregationInput = {
|
|
270
|
+
agentId?: Prisma.SortOrder;
|
|
271
|
+
provider?: Prisma.SortOrder;
|
|
272
|
+
repository?: Prisma.SortOrder;
|
|
273
|
+
baseRef?: Prisma.SortOrder;
|
|
274
|
+
defaultTask?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
275
|
+
allowWebhookTaskOverride?: Prisma.SortOrder;
|
|
276
|
+
timeoutSec?: Prisma.SortOrder;
|
|
277
|
+
allowedEgress?: Prisma.SortOrder;
|
|
278
|
+
protectedPaths?: Prisma.SortOrder;
|
|
279
|
+
toolchain?: Prisma.SortOrder;
|
|
280
|
+
toolchainVersion?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
281
|
+
workerImageRef?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
282
|
+
workspaceDiskMb?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
283
|
+
_count?: Prisma.CodingAgentProfileCountOrderByAggregateInput;
|
|
284
|
+
_avg?: Prisma.CodingAgentProfileAvgOrderByAggregateInput;
|
|
285
|
+
_max?: Prisma.CodingAgentProfileMaxOrderByAggregateInput;
|
|
286
|
+
_min?: Prisma.CodingAgentProfileMinOrderByAggregateInput;
|
|
287
|
+
_sum?: Prisma.CodingAgentProfileSumOrderByAggregateInput;
|
|
288
|
+
};
|
|
289
|
+
export type CodingAgentProfileScalarWhereWithAggregatesInput = {
|
|
290
|
+
AND?: Prisma.CodingAgentProfileScalarWhereWithAggregatesInput | Prisma.CodingAgentProfileScalarWhereWithAggregatesInput[];
|
|
291
|
+
OR?: Prisma.CodingAgentProfileScalarWhereWithAggregatesInput[];
|
|
292
|
+
NOT?: Prisma.CodingAgentProfileScalarWhereWithAggregatesInput | Prisma.CodingAgentProfileScalarWhereWithAggregatesInput[];
|
|
293
|
+
agentId?: Prisma.StringWithAggregatesFilter<"CodingAgentProfile"> | string;
|
|
294
|
+
provider?: Prisma.StringWithAggregatesFilter<"CodingAgentProfile"> | string;
|
|
295
|
+
repository?: Prisma.StringWithAggregatesFilter<"CodingAgentProfile"> | string;
|
|
296
|
+
baseRef?: Prisma.StringWithAggregatesFilter<"CodingAgentProfile"> | string;
|
|
297
|
+
defaultTask?: Prisma.StringNullableWithAggregatesFilter<"CodingAgentProfile"> | string | null;
|
|
298
|
+
allowWebhookTaskOverride?: Prisma.BoolWithAggregatesFilter<"CodingAgentProfile"> | boolean;
|
|
299
|
+
timeoutSec?: Prisma.IntWithAggregatesFilter<"CodingAgentProfile"> | number;
|
|
300
|
+
allowedEgress?: Prisma.JsonWithAggregatesFilter<"CodingAgentProfile">;
|
|
301
|
+
protectedPaths?: Prisma.JsonWithAggregatesFilter<"CodingAgentProfile">;
|
|
302
|
+
toolchain?: Prisma.StringWithAggregatesFilter<"CodingAgentProfile"> | string;
|
|
303
|
+
toolchainVersion?: Prisma.StringNullableWithAggregatesFilter<"CodingAgentProfile"> | string | null;
|
|
304
|
+
workerImageRef?: Prisma.StringNullableWithAggregatesFilter<"CodingAgentProfile"> | string | null;
|
|
305
|
+
workspaceDiskMb?: Prisma.IntNullableWithAggregatesFilter<"CodingAgentProfile"> | number | null;
|
|
306
|
+
};
|
|
307
|
+
export type CodingAgentProfileCreateInput = {
|
|
308
|
+
provider?: string;
|
|
309
|
+
repository: string;
|
|
310
|
+
baseRef?: string;
|
|
311
|
+
defaultTask?: string | null;
|
|
312
|
+
allowWebhookTaskOverride?: boolean;
|
|
313
|
+
timeoutSec?: number;
|
|
314
|
+
allowedEgress: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
315
|
+
protectedPaths: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
316
|
+
toolchain?: string;
|
|
317
|
+
toolchainVersion?: string | null;
|
|
318
|
+
workerImageRef?: string | null;
|
|
319
|
+
workspaceDiskMb?: number | null;
|
|
320
|
+
agent: Prisma.AgentCreateNestedOneWithoutCodingProfileInput;
|
|
321
|
+
};
|
|
322
|
+
export type CodingAgentProfileUncheckedCreateInput = {
|
|
323
|
+
agentId: string;
|
|
324
|
+
provider?: string;
|
|
325
|
+
repository: string;
|
|
326
|
+
baseRef?: string;
|
|
327
|
+
defaultTask?: string | null;
|
|
328
|
+
allowWebhookTaskOverride?: boolean;
|
|
329
|
+
timeoutSec?: number;
|
|
330
|
+
allowedEgress: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
331
|
+
protectedPaths: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
332
|
+
toolchain?: string;
|
|
333
|
+
toolchainVersion?: string | null;
|
|
334
|
+
workerImageRef?: string | null;
|
|
335
|
+
workspaceDiskMb?: number | null;
|
|
336
|
+
};
|
|
337
|
+
export type CodingAgentProfileUpdateInput = {
|
|
338
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
339
|
+
repository?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
340
|
+
baseRef?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
341
|
+
defaultTask?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
342
|
+
allowWebhookTaskOverride?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
343
|
+
timeoutSec?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
344
|
+
allowedEgress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
345
|
+
protectedPaths?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
346
|
+
toolchain?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
347
|
+
toolchainVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
348
|
+
workerImageRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
349
|
+
workspaceDiskMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
350
|
+
agent?: Prisma.AgentUpdateOneRequiredWithoutCodingProfileNestedInput;
|
|
351
|
+
};
|
|
352
|
+
export type CodingAgentProfileUncheckedUpdateInput = {
|
|
353
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
354
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
355
|
+
repository?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
356
|
+
baseRef?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
357
|
+
defaultTask?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
358
|
+
allowWebhookTaskOverride?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
359
|
+
timeoutSec?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
360
|
+
allowedEgress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
361
|
+
protectedPaths?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
362
|
+
toolchain?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
363
|
+
toolchainVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
364
|
+
workerImageRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
365
|
+
workspaceDiskMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
366
|
+
};
|
|
367
|
+
export type CodingAgentProfileCreateManyInput = {
|
|
368
|
+
agentId: string;
|
|
369
|
+
provider?: string;
|
|
370
|
+
repository: string;
|
|
371
|
+
baseRef?: string;
|
|
372
|
+
defaultTask?: string | null;
|
|
373
|
+
allowWebhookTaskOverride?: boolean;
|
|
374
|
+
timeoutSec?: number;
|
|
375
|
+
allowedEgress: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
376
|
+
protectedPaths: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
377
|
+
toolchain?: string;
|
|
378
|
+
toolchainVersion?: string | null;
|
|
379
|
+
workerImageRef?: string | null;
|
|
380
|
+
workspaceDiskMb?: number | null;
|
|
381
|
+
};
|
|
382
|
+
export type CodingAgentProfileUpdateManyMutationInput = {
|
|
383
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
384
|
+
repository?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
385
|
+
baseRef?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
386
|
+
defaultTask?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
387
|
+
allowWebhookTaskOverride?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
388
|
+
timeoutSec?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
389
|
+
allowedEgress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
390
|
+
protectedPaths?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
391
|
+
toolchain?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
392
|
+
toolchainVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
393
|
+
workerImageRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
394
|
+
workspaceDiskMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
395
|
+
};
|
|
396
|
+
export type CodingAgentProfileUncheckedUpdateManyInput = {
|
|
397
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
398
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
399
|
+
repository?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
400
|
+
baseRef?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
401
|
+
defaultTask?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
402
|
+
allowWebhookTaskOverride?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
403
|
+
timeoutSec?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
404
|
+
allowedEgress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
405
|
+
protectedPaths?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
406
|
+
toolchain?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
407
|
+
toolchainVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
408
|
+
workerImageRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
409
|
+
workspaceDiskMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
410
|
+
};
|
|
411
|
+
export type CodingAgentProfileNullableScalarRelationFilter = {
|
|
412
|
+
is?: Prisma.CodingAgentProfileWhereInput | null;
|
|
413
|
+
isNot?: Prisma.CodingAgentProfileWhereInput | null;
|
|
414
|
+
};
|
|
415
|
+
export type CodingAgentProfileCountOrderByAggregateInput = {
|
|
416
|
+
agentId?: Prisma.SortOrder;
|
|
417
|
+
provider?: Prisma.SortOrder;
|
|
418
|
+
repository?: Prisma.SortOrder;
|
|
419
|
+
baseRef?: Prisma.SortOrder;
|
|
420
|
+
defaultTask?: Prisma.SortOrder;
|
|
421
|
+
allowWebhookTaskOverride?: Prisma.SortOrder;
|
|
422
|
+
timeoutSec?: Prisma.SortOrder;
|
|
423
|
+
allowedEgress?: Prisma.SortOrder;
|
|
424
|
+
protectedPaths?: Prisma.SortOrder;
|
|
425
|
+
toolchain?: Prisma.SortOrder;
|
|
426
|
+
toolchainVersion?: Prisma.SortOrder;
|
|
427
|
+
workerImageRef?: Prisma.SortOrder;
|
|
428
|
+
workspaceDiskMb?: Prisma.SortOrder;
|
|
429
|
+
};
|
|
430
|
+
export type CodingAgentProfileAvgOrderByAggregateInput = {
|
|
431
|
+
timeoutSec?: Prisma.SortOrder;
|
|
432
|
+
workspaceDiskMb?: Prisma.SortOrder;
|
|
433
|
+
};
|
|
434
|
+
export type CodingAgentProfileMaxOrderByAggregateInput = {
|
|
435
|
+
agentId?: Prisma.SortOrder;
|
|
436
|
+
provider?: Prisma.SortOrder;
|
|
437
|
+
repository?: Prisma.SortOrder;
|
|
438
|
+
baseRef?: Prisma.SortOrder;
|
|
439
|
+
defaultTask?: Prisma.SortOrder;
|
|
440
|
+
allowWebhookTaskOverride?: Prisma.SortOrder;
|
|
441
|
+
timeoutSec?: Prisma.SortOrder;
|
|
442
|
+
toolchain?: Prisma.SortOrder;
|
|
443
|
+
toolchainVersion?: Prisma.SortOrder;
|
|
444
|
+
workerImageRef?: Prisma.SortOrder;
|
|
445
|
+
workspaceDiskMb?: Prisma.SortOrder;
|
|
446
|
+
};
|
|
447
|
+
export type CodingAgentProfileMinOrderByAggregateInput = {
|
|
448
|
+
agentId?: Prisma.SortOrder;
|
|
449
|
+
provider?: Prisma.SortOrder;
|
|
450
|
+
repository?: Prisma.SortOrder;
|
|
451
|
+
baseRef?: Prisma.SortOrder;
|
|
452
|
+
defaultTask?: Prisma.SortOrder;
|
|
453
|
+
allowWebhookTaskOverride?: Prisma.SortOrder;
|
|
454
|
+
timeoutSec?: Prisma.SortOrder;
|
|
455
|
+
toolchain?: Prisma.SortOrder;
|
|
456
|
+
toolchainVersion?: Prisma.SortOrder;
|
|
457
|
+
workerImageRef?: Prisma.SortOrder;
|
|
458
|
+
workspaceDiskMb?: Prisma.SortOrder;
|
|
459
|
+
};
|
|
460
|
+
export type CodingAgentProfileSumOrderByAggregateInput = {
|
|
461
|
+
timeoutSec?: Prisma.SortOrder;
|
|
462
|
+
workspaceDiskMb?: Prisma.SortOrder;
|
|
463
|
+
};
|
|
464
|
+
export type CodingAgentProfileCreateNestedOneWithoutAgentInput = {
|
|
465
|
+
create?: Prisma.XOR<Prisma.CodingAgentProfileCreateWithoutAgentInput, Prisma.CodingAgentProfileUncheckedCreateWithoutAgentInput>;
|
|
466
|
+
connectOrCreate?: Prisma.CodingAgentProfileCreateOrConnectWithoutAgentInput;
|
|
467
|
+
connect?: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
468
|
+
};
|
|
469
|
+
export type CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput = {
|
|
470
|
+
create?: Prisma.XOR<Prisma.CodingAgentProfileCreateWithoutAgentInput, Prisma.CodingAgentProfileUncheckedCreateWithoutAgentInput>;
|
|
471
|
+
connectOrCreate?: Prisma.CodingAgentProfileCreateOrConnectWithoutAgentInput;
|
|
472
|
+
connect?: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
473
|
+
};
|
|
474
|
+
export type CodingAgentProfileUpdateOneWithoutAgentNestedInput = {
|
|
475
|
+
create?: Prisma.XOR<Prisma.CodingAgentProfileCreateWithoutAgentInput, Prisma.CodingAgentProfileUncheckedCreateWithoutAgentInput>;
|
|
476
|
+
connectOrCreate?: Prisma.CodingAgentProfileCreateOrConnectWithoutAgentInput;
|
|
477
|
+
upsert?: Prisma.CodingAgentProfileUpsertWithoutAgentInput;
|
|
478
|
+
disconnect?: Prisma.CodingAgentProfileWhereInput | boolean;
|
|
479
|
+
delete?: Prisma.CodingAgentProfileWhereInput | boolean;
|
|
480
|
+
connect?: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
481
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CodingAgentProfileUpdateToOneWithWhereWithoutAgentInput, Prisma.CodingAgentProfileUpdateWithoutAgentInput>, Prisma.CodingAgentProfileUncheckedUpdateWithoutAgentInput>;
|
|
482
|
+
};
|
|
483
|
+
export type CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput = {
|
|
484
|
+
create?: Prisma.XOR<Prisma.CodingAgentProfileCreateWithoutAgentInput, Prisma.CodingAgentProfileUncheckedCreateWithoutAgentInput>;
|
|
485
|
+
connectOrCreate?: Prisma.CodingAgentProfileCreateOrConnectWithoutAgentInput;
|
|
486
|
+
upsert?: Prisma.CodingAgentProfileUpsertWithoutAgentInput;
|
|
487
|
+
disconnect?: Prisma.CodingAgentProfileWhereInput | boolean;
|
|
488
|
+
delete?: Prisma.CodingAgentProfileWhereInput | boolean;
|
|
489
|
+
connect?: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
490
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CodingAgentProfileUpdateToOneWithWhereWithoutAgentInput, Prisma.CodingAgentProfileUpdateWithoutAgentInput>, Prisma.CodingAgentProfileUncheckedUpdateWithoutAgentInput>;
|
|
491
|
+
};
|
|
492
|
+
export type NullableIntFieldUpdateOperationsInput = {
|
|
493
|
+
set?: number | null;
|
|
494
|
+
increment?: number;
|
|
495
|
+
decrement?: number;
|
|
496
|
+
multiply?: number;
|
|
497
|
+
divide?: number;
|
|
498
|
+
};
|
|
499
|
+
export type CodingAgentProfileCreateWithoutAgentInput = {
|
|
500
|
+
provider?: string;
|
|
501
|
+
repository: string;
|
|
502
|
+
baseRef?: string;
|
|
503
|
+
defaultTask?: string | null;
|
|
504
|
+
allowWebhookTaskOverride?: boolean;
|
|
505
|
+
timeoutSec?: number;
|
|
506
|
+
allowedEgress: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
507
|
+
protectedPaths: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
508
|
+
toolchain?: string;
|
|
509
|
+
toolchainVersion?: string | null;
|
|
510
|
+
workerImageRef?: string | null;
|
|
511
|
+
workspaceDiskMb?: number | null;
|
|
512
|
+
};
|
|
513
|
+
export type CodingAgentProfileUncheckedCreateWithoutAgentInput = {
|
|
514
|
+
provider?: string;
|
|
515
|
+
repository: string;
|
|
516
|
+
baseRef?: string;
|
|
517
|
+
defaultTask?: string | null;
|
|
518
|
+
allowWebhookTaskOverride?: boolean;
|
|
519
|
+
timeoutSec?: number;
|
|
520
|
+
allowedEgress: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
521
|
+
protectedPaths: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
522
|
+
toolchain?: string;
|
|
523
|
+
toolchainVersion?: string | null;
|
|
524
|
+
workerImageRef?: string | null;
|
|
525
|
+
workspaceDiskMb?: number | null;
|
|
526
|
+
};
|
|
527
|
+
export type CodingAgentProfileCreateOrConnectWithoutAgentInput = {
|
|
528
|
+
where: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
529
|
+
create: Prisma.XOR<Prisma.CodingAgentProfileCreateWithoutAgentInput, Prisma.CodingAgentProfileUncheckedCreateWithoutAgentInput>;
|
|
530
|
+
};
|
|
531
|
+
export type CodingAgentProfileUpsertWithoutAgentInput = {
|
|
532
|
+
update: Prisma.XOR<Prisma.CodingAgentProfileUpdateWithoutAgentInput, Prisma.CodingAgentProfileUncheckedUpdateWithoutAgentInput>;
|
|
533
|
+
create: Prisma.XOR<Prisma.CodingAgentProfileCreateWithoutAgentInput, Prisma.CodingAgentProfileUncheckedCreateWithoutAgentInput>;
|
|
534
|
+
where?: Prisma.CodingAgentProfileWhereInput;
|
|
535
|
+
};
|
|
536
|
+
export type CodingAgentProfileUpdateToOneWithWhereWithoutAgentInput = {
|
|
537
|
+
where?: Prisma.CodingAgentProfileWhereInput;
|
|
538
|
+
data: Prisma.XOR<Prisma.CodingAgentProfileUpdateWithoutAgentInput, Prisma.CodingAgentProfileUncheckedUpdateWithoutAgentInput>;
|
|
539
|
+
};
|
|
540
|
+
export type CodingAgentProfileUpdateWithoutAgentInput = {
|
|
541
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
542
|
+
repository?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
543
|
+
baseRef?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
544
|
+
defaultTask?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
545
|
+
allowWebhookTaskOverride?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
546
|
+
timeoutSec?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
547
|
+
allowedEgress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
548
|
+
protectedPaths?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
549
|
+
toolchain?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
550
|
+
toolchainVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
551
|
+
workerImageRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
552
|
+
workspaceDiskMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
553
|
+
};
|
|
554
|
+
export type CodingAgentProfileUncheckedUpdateWithoutAgentInput = {
|
|
555
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
556
|
+
repository?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
557
|
+
baseRef?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
558
|
+
defaultTask?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
559
|
+
allowWebhookTaskOverride?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
560
|
+
timeoutSec?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
561
|
+
allowedEgress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
562
|
+
protectedPaths?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
563
|
+
toolchain?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
564
|
+
toolchainVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
565
|
+
workerImageRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
566
|
+
workspaceDiskMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
567
|
+
};
|
|
568
|
+
export type CodingAgentProfileSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
569
|
+
agentId?: boolean;
|
|
570
|
+
provider?: boolean;
|
|
571
|
+
repository?: boolean;
|
|
572
|
+
baseRef?: boolean;
|
|
573
|
+
defaultTask?: boolean;
|
|
574
|
+
allowWebhookTaskOverride?: boolean;
|
|
575
|
+
timeoutSec?: boolean;
|
|
576
|
+
allowedEgress?: boolean;
|
|
577
|
+
protectedPaths?: boolean;
|
|
578
|
+
toolchain?: boolean;
|
|
579
|
+
toolchainVersion?: boolean;
|
|
580
|
+
workerImageRef?: boolean;
|
|
581
|
+
workspaceDiskMb?: boolean;
|
|
582
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
583
|
+
}, ExtArgs["result"]["codingAgentProfile"]>;
|
|
584
|
+
export type CodingAgentProfileSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
585
|
+
agentId?: boolean;
|
|
586
|
+
provider?: boolean;
|
|
587
|
+
repository?: boolean;
|
|
588
|
+
baseRef?: boolean;
|
|
589
|
+
defaultTask?: boolean;
|
|
590
|
+
allowWebhookTaskOverride?: boolean;
|
|
591
|
+
timeoutSec?: boolean;
|
|
592
|
+
allowedEgress?: boolean;
|
|
593
|
+
protectedPaths?: boolean;
|
|
594
|
+
toolchain?: boolean;
|
|
595
|
+
toolchainVersion?: boolean;
|
|
596
|
+
workerImageRef?: boolean;
|
|
597
|
+
workspaceDiskMb?: boolean;
|
|
598
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
599
|
+
}, ExtArgs["result"]["codingAgentProfile"]>;
|
|
600
|
+
export type CodingAgentProfileSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
601
|
+
agentId?: boolean;
|
|
602
|
+
provider?: boolean;
|
|
603
|
+
repository?: boolean;
|
|
604
|
+
baseRef?: boolean;
|
|
605
|
+
defaultTask?: boolean;
|
|
606
|
+
allowWebhookTaskOverride?: boolean;
|
|
607
|
+
timeoutSec?: boolean;
|
|
608
|
+
allowedEgress?: boolean;
|
|
609
|
+
protectedPaths?: boolean;
|
|
610
|
+
toolchain?: boolean;
|
|
611
|
+
toolchainVersion?: boolean;
|
|
612
|
+
workerImageRef?: boolean;
|
|
613
|
+
workspaceDiskMb?: boolean;
|
|
614
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
615
|
+
}, ExtArgs["result"]["codingAgentProfile"]>;
|
|
616
|
+
export type CodingAgentProfileSelectScalar = {
|
|
617
|
+
agentId?: boolean;
|
|
618
|
+
provider?: boolean;
|
|
619
|
+
repository?: boolean;
|
|
620
|
+
baseRef?: boolean;
|
|
621
|
+
defaultTask?: boolean;
|
|
622
|
+
allowWebhookTaskOverride?: boolean;
|
|
623
|
+
timeoutSec?: boolean;
|
|
624
|
+
allowedEgress?: boolean;
|
|
625
|
+
protectedPaths?: boolean;
|
|
626
|
+
toolchain?: boolean;
|
|
627
|
+
toolchainVersion?: boolean;
|
|
628
|
+
workerImageRef?: boolean;
|
|
629
|
+
workspaceDiskMb?: boolean;
|
|
630
|
+
};
|
|
631
|
+
export type CodingAgentProfileOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"agentId" | "provider" | "repository" | "baseRef" | "defaultTask" | "allowWebhookTaskOverride" | "timeoutSec" | "allowedEgress" | "protectedPaths" | "toolchain" | "toolchainVersion" | "workerImageRef" | "workspaceDiskMb", ExtArgs["result"]["codingAgentProfile"]>;
|
|
632
|
+
export type CodingAgentProfileInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
633
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
634
|
+
};
|
|
635
|
+
export type CodingAgentProfileIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
636
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
637
|
+
};
|
|
638
|
+
export type CodingAgentProfileIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
639
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
640
|
+
};
|
|
641
|
+
export type $CodingAgentProfilePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
642
|
+
name: "CodingAgentProfile";
|
|
643
|
+
objects: {
|
|
644
|
+
agent: Prisma.$AgentPayload<ExtArgs>;
|
|
645
|
+
};
|
|
646
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
647
|
+
agentId: string;
|
|
648
|
+
provider: string;
|
|
649
|
+
repository: string;
|
|
650
|
+
baseRef: string;
|
|
651
|
+
defaultTask: string | null;
|
|
652
|
+
allowWebhookTaskOverride: boolean;
|
|
653
|
+
timeoutSec: number;
|
|
654
|
+
allowedEgress: runtime.JsonValue;
|
|
655
|
+
protectedPaths: runtime.JsonValue;
|
|
656
|
+
toolchain: string;
|
|
657
|
+
toolchainVersion: string | null;
|
|
658
|
+
workerImageRef: string | null;
|
|
659
|
+
/**
|
|
660
|
+
* Per-agent workspace size in MiB; null = CODING_DISK_MB.
|
|
661
|
+
*/
|
|
662
|
+
workspaceDiskMb: number | null;
|
|
663
|
+
}, ExtArgs["result"]["codingAgentProfile"]>;
|
|
664
|
+
composites: {};
|
|
665
|
+
};
|
|
666
|
+
export type CodingAgentProfileGetPayload<S extends boolean | null | undefined | CodingAgentProfileDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CodingAgentProfilePayload, S>;
|
|
667
|
+
export type CodingAgentProfileCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<CodingAgentProfileFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
668
|
+
select?: CodingAgentProfileCountAggregateInputType | true;
|
|
669
|
+
};
|
|
670
|
+
export interface CodingAgentProfileDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
671
|
+
[K: symbol]: {
|
|
672
|
+
types: Prisma.TypeMap<ExtArgs>['model']['CodingAgentProfile'];
|
|
673
|
+
meta: {
|
|
674
|
+
name: 'CodingAgentProfile';
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
/**
|
|
678
|
+
* Find zero or one CodingAgentProfile that matches the filter.
|
|
679
|
+
* @param {CodingAgentProfileFindUniqueArgs} args - Arguments to find a CodingAgentProfile
|
|
680
|
+
* @example
|
|
681
|
+
* // Get one CodingAgentProfile
|
|
682
|
+
* const codingAgentProfile = await prisma.codingAgentProfile.findUnique({
|
|
683
|
+
* where: {
|
|
684
|
+
* // ... provide filter here
|
|
685
|
+
* }
|
|
686
|
+
* })
|
|
687
|
+
*/
|
|
688
|
+
findUnique<T extends CodingAgentProfileFindUniqueArgs>(args: Prisma.SelectSubset<T, CodingAgentProfileFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CodingAgentProfileClient<runtime.Types.Result.GetResult<Prisma.$CodingAgentProfilePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
689
|
+
/**
|
|
690
|
+
* Find one CodingAgentProfile that matches the filter or throw an error with `error.code='P2025'`
|
|
691
|
+
* if no matches were found.
|
|
692
|
+
* @param {CodingAgentProfileFindUniqueOrThrowArgs} args - Arguments to find a CodingAgentProfile
|
|
693
|
+
* @example
|
|
694
|
+
* // Get one CodingAgentProfile
|
|
695
|
+
* const codingAgentProfile = await prisma.codingAgentProfile.findUniqueOrThrow({
|
|
696
|
+
* where: {
|
|
697
|
+
* // ... provide filter here
|
|
698
|
+
* }
|
|
699
|
+
* })
|
|
700
|
+
*/
|
|
701
|
+
findUniqueOrThrow<T extends CodingAgentProfileFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CodingAgentProfileFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CodingAgentProfileClient<runtime.Types.Result.GetResult<Prisma.$CodingAgentProfilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
702
|
+
/**
|
|
703
|
+
* Find the first CodingAgentProfile that matches the filter.
|
|
704
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
705
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
706
|
+
* @param {CodingAgentProfileFindFirstArgs} args - Arguments to find a CodingAgentProfile
|
|
707
|
+
* @example
|
|
708
|
+
* // Get one CodingAgentProfile
|
|
709
|
+
* const codingAgentProfile = await prisma.codingAgentProfile.findFirst({
|
|
710
|
+
* where: {
|
|
711
|
+
* // ... provide filter here
|
|
712
|
+
* }
|
|
713
|
+
* })
|
|
714
|
+
*/
|
|
715
|
+
findFirst<T extends CodingAgentProfileFindFirstArgs>(args?: Prisma.SelectSubset<T, CodingAgentProfileFindFirstArgs<ExtArgs>>): Prisma.Prisma__CodingAgentProfileClient<runtime.Types.Result.GetResult<Prisma.$CodingAgentProfilePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
716
|
+
/**
|
|
717
|
+
* Find the first CodingAgentProfile that matches the filter or
|
|
718
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
719
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
720
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
721
|
+
* @param {CodingAgentProfileFindFirstOrThrowArgs} args - Arguments to find a CodingAgentProfile
|
|
722
|
+
* @example
|
|
723
|
+
* // Get one CodingAgentProfile
|
|
724
|
+
* const codingAgentProfile = await prisma.codingAgentProfile.findFirstOrThrow({
|
|
725
|
+
* where: {
|
|
726
|
+
* // ... provide filter here
|
|
727
|
+
* }
|
|
728
|
+
* })
|
|
729
|
+
*/
|
|
730
|
+
findFirstOrThrow<T extends CodingAgentProfileFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CodingAgentProfileFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CodingAgentProfileClient<runtime.Types.Result.GetResult<Prisma.$CodingAgentProfilePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
731
|
+
/**
|
|
732
|
+
* Find zero or more CodingAgentProfiles that matches the filter.
|
|
733
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
734
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
735
|
+
* @param {CodingAgentProfileFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
736
|
+
* @example
|
|
737
|
+
* // Get all CodingAgentProfiles
|
|
738
|
+
* const codingAgentProfiles = await prisma.codingAgentProfile.findMany()
|
|
739
|
+
*
|
|
740
|
+
* // Get first 10 CodingAgentProfiles
|
|
741
|
+
* const codingAgentProfiles = await prisma.codingAgentProfile.findMany({ take: 10 })
|
|
742
|
+
*
|
|
743
|
+
* // Only select the `agentId`
|
|
744
|
+
* const codingAgentProfileWithAgentIdOnly = await prisma.codingAgentProfile.findMany({ select: { agentId: true } })
|
|
745
|
+
*
|
|
746
|
+
*/
|
|
747
|
+
findMany<T extends CodingAgentProfileFindManyArgs>(args?: Prisma.SelectSubset<T, CodingAgentProfileFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CodingAgentProfilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
748
|
+
/**
|
|
749
|
+
* Create a CodingAgentProfile.
|
|
750
|
+
* @param {CodingAgentProfileCreateArgs} args - Arguments to create a CodingAgentProfile.
|
|
751
|
+
* @example
|
|
752
|
+
* // Create one CodingAgentProfile
|
|
753
|
+
* const CodingAgentProfile = await prisma.codingAgentProfile.create({
|
|
754
|
+
* data: {
|
|
755
|
+
* // ... data to create a CodingAgentProfile
|
|
756
|
+
* }
|
|
757
|
+
* })
|
|
758
|
+
*
|
|
759
|
+
*/
|
|
760
|
+
create<T extends CodingAgentProfileCreateArgs>(args: Prisma.SelectSubset<T, CodingAgentProfileCreateArgs<ExtArgs>>): Prisma.Prisma__CodingAgentProfileClient<runtime.Types.Result.GetResult<Prisma.$CodingAgentProfilePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
761
|
+
/**
|
|
762
|
+
* Create many CodingAgentProfiles.
|
|
763
|
+
* @param {CodingAgentProfileCreateManyArgs} args - Arguments to create many CodingAgentProfiles.
|
|
764
|
+
* @example
|
|
765
|
+
* // Create many CodingAgentProfiles
|
|
766
|
+
* const codingAgentProfile = await prisma.codingAgentProfile.createMany({
|
|
767
|
+
* data: [
|
|
768
|
+
* // ... provide data here
|
|
769
|
+
* ]
|
|
770
|
+
* })
|
|
771
|
+
*
|
|
772
|
+
*/
|
|
773
|
+
createMany<T extends CodingAgentProfileCreateManyArgs>(args?: Prisma.SelectSubset<T, CodingAgentProfileCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
774
|
+
/**
|
|
775
|
+
* Create many CodingAgentProfiles and returns the data saved in the database.
|
|
776
|
+
* @param {CodingAgentProfileCreateManyAndReturnArgs} args - Arguments to create many CodingAgentProfiles.
|
|
777
|
+
* @example
|
|
778
|
+
* // Create many CodingAgentProfiles
|
|
779
|
+
* const codingAgentProfile = await prisma.codingAgentProfile.createManyAndReturn({
|
|
780
|
+
* data: [
|
|
781
|
+
* // ... provide data here
|
|
782
|
+
* ]
|
|
783
|
+
* })
|
|
784
|
+
*
|
|
785
|
+
* // Create many CodingAgentProfiles and only return the `agentId`
|
|
786
|
+
* const codingAgentProfileWithAgentIdOnly = await prisma.codingAgentProfile.createManyAndReturn({
|
|
787
|
+
* select: { agentId: true },
|
|
788
|
+
* data: [
|
|
789
|
+
* // ... provide data here
|
|
790
|
+
* ]
|
|
791
|
+
* })
|
|
792
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
793
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
794
|
+
*
|
|
795
|
+
*/
|
|
796
|
+
createManyAndReturn<T extends CodingAgentProfileCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CodingAgentProfileCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CodingAgentProfilePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
797
|
+
/**
|
|
798
|
+
* Delete a CodingAgentProfile.
|
|
799
|
+
* @param {CodingAgentProfileDeleteArgs} args - Arguments to delete one CodingAgentProfile.
|
|
800
|
+
* @example
|
|
801
|
+
* // Delete one CodingAgentProfile
|
|
802
|
+
* const CodingAgentProfile = await prisma.codingAgentProfile.delete({
|
|
803
|
+
* where: {
|
|
804
|
+
* // ... filter to delete one CodingAgentProfile
|
|
805
|
+
* }
|
|
806
|
+
* })
|
|
807
|
+
*
|
|
808
|
+
*/
|
|
809
|
+
delete<T extends CodingAgentProfileDeleteArgs>(args: Prisma.SelectSubset<T, CodingAgentProfileDeleteArgs<ExtArgs>>): Prisma.Prisma__CodingAgentProfileClient<runtime.Types.Result.GetResult<Prisma.$CodingAgentProfilePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
810
|
+
/**
|
|
811
|
+
* Update one CodingAgentProfile.
|
|
812
|
+
* @param {CodingAgentProfileUpdateArgs} args - Arguments to update one CodingAgentProfile.
|
|
813
|
+
* @example
|
|
814
|
+
* // Update one CodingAgentProfile
|
|
815
|
+
* const codingAgentProfile = await prisma.codingAgentProfile.update({
|
|
816
|
+
* where: {
|
|
817
|
+
* // ... provide filter here
|
|
818
|
+
* },
|
|
819
|
+
* data: {
|
|
820
|
+
* // ... provide data here
|
|
821
|
+
* }
|
|
822
|
+
* })
|
|
823
|
+
*
|
|
824
|
+
*/
|
|
825
|
+
update<T extends CodingAgentProfileUpdateArgs>(args: Prisma.SelectSubset<T, CodingAgentProfileUpdateArgs<ExtArgs>>): Prisma.Prisma__CodingAgentProfileClient<runtime.Types.Result.GetResult<Prisma.$CodingAgentProfilePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
826
|
+
/**
|
|
827
|
+
* Delete zero or more CodingAgentProfiles.
|
|
828
|
+
* @param {CodingAgentProfileDeleteManyArgs} args - Arguments to filter CodingAgentProfiles to delete.
|
|
829
|
+
* @example
|
|
830
|
+
* // Delete a few CodingAgentProfiles
|
|
831
|
+
* const { count } = await prisma.codingAgentProfile.deleteMany({
|
|
832
|
+
* where: {
|
|
833
|
+
* // ... provide filter here
|
|
834
|
+
* }
|
|
835
|
+
* })
|
|
836
|
+
*
|
|
837
|
+
*/
|
|
838
|
+
deleteMany<T extends CodingAgentProfileDeleteManyArgs>(args?: Prisma.SelectSubset<T, CodingAgentProfileDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
839
|
+
/**
|
|
840
|
+
* Update zero or more CodingAgentProfiles.
|
|
841
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
842
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
843
|
+
* @param {CodingAgentProfileUpdateManyArgs} args - Arguments to update one or more rows.
|
|
844
|
+
* @example
|
|
845
|
+
* // Update many CodingAgentProfiles
|
|
846
|
+
* const codingAgentProfile = await prisma.codingAgentProfile.updateMany({
|
|
847
|
+
* where: {
|
|
848
|
+
* // ... provide filter here
|
|
849
|
+
* },
|
|
850
|
+
* data: {
|
|
851
|
+
* // ... provide data here
|
|
852
|
+
* }
|
|
853
|
+
* })
|
|
854
|
+
*
|
|
855
|
+
*/
|
|
856
|
+
updateMany<T extends CodingAgentProfileUpdateManyArgs>(args: Prisma.SelectSubset<T, CodingAgentProfileUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
857
|
+
/**
|
|
858
|
+
* Update zero or more CodingAgentProfiles and returns the data updated in the database.
|
|
859
|
+
* @param {CodingAgentProfileUpdateManyAndReturnArgs} args - Arguments to update many CodingAgentProfiles.
|
|
860
|
+
* @example
|
|
861
|
+
* // Update many CodingAgentProfiles
|
|
862
|
+
* const codingAgentProfile = await prisma.codingAgentProfile.updateManyAndReturn({
|
|
863
|
+
* where: {
|
|
864
|
+
* // ... provide filter here
|
|
865
|
+
* },
|
|
866
|
+
* data: [
|
|
867
|
+
* // ... provide data here
|
|
868
|
+
* ]
|
|
869
|
+
* })
|
|
870
|
+
*
|
|
871
|
+
* // Update zero or more CodingAgentProfiles and only return the `agentId`
|
|
872
|
+
* const codingAgentProfileWithAgentIdOnly = await prisma.codingAgentProfile.updateManyAndReturn({
|
|
873
|
+
* select: { agentId: true },
|
|
874
|
+
* where: {
|
|
875
|
+
* // ... provide filter here
|
|
876
|
+
* },
|
|
877
|
+
* data: [
|
|
878
|
+
* // ... provide data here
|
|
879
|
+
* ]
|
|
880
|
+
* })
|
|
881
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
882
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
883
|
+
*
|
|
884
|
+
*/
|
|
885
|
+
updateManyAndReturn<T extends CodingAgentProfileUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CodingAgentProfileUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CodingAgentProfilePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
886
|
+
/**
|
|
887
|
+
* Create or update one CodingAgentProfile.
|
|
888
|
+
* @param {CodingAgentProfileUpsertArgs} args - Arguments to update or create a CodingAgentProfile.
|
|
889
|
+
* @example
|
|
890
|
+
* // Update or create a CodingAgentProfile
|
|
891
|
+
* const codingAgentProfile = await prisma.codingAgentProfile.upsert({
|
|
892
|
+
* create: {
|
|
893
|
+
* // ... data to create a CodingAgentProfile
|
|
894
|
+
* },
|
|
895
|
+
* update: {
|
|
896
|
+
* // ... in case it already exists, update
|
|
897
|
+
* },
|
|
898
|
+
* where: {
|
|
899
|
+
* // ... the filter for the CodingAgentProfile we want to update
|
|
900
|
+
* }
|
|
901
|
+
* })
|
|
902
|
+
*/
|
|
903
|
+
upsert<T extends CodingAgentProfileUpsertArgs>(args: Prisma.SelectSubset<T, CodingAgentProfileUpsertArgs<ExtArgs>>): Prisma.Prisma__CodingAgentProfileClient<runtime.Types.Result.GetResult<Prisma.$CodingAgentProfilePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
904
|
+
/**
|
|
905
|
+
* Count the number of CodingAgentProfiles.
|
|
906
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
907
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
908
|
+
* @param {CodingAgentProfileCountArgs} args - Arguments to filter CodingAgentProfiles to count.
|
|
909
|
+
* @example
|
|
910
|
+
* // Count the number of CodingAgentProfiles
|
|
911
|
+
* const count = await prisma.codingAgentProfile.count({
|
|
912
|
+
* where: {
|
|
913
|
+
* // ... the filter for the CodingAgentProfiles we want to count
|
|
914
|
+
* }
|
|
915
|
+
* })
|
|
916
|
+
**/
|
|
917
|
+
count<T extends CodingAgentProfileCountArgs>(args?: Prisma.Subset<T, CodingAgentProfileCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], CodingAgentProfileCountAggregateOutputType> : number>;
|
|
918
|
+
/**
|
|
919
|
+
* Allows you to perform aggregations operations on a CodingAgentProfile.
|
|
920
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
921
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
922
|
+
* @param {CodingAgentProfileAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
923
|
+
* @example
|
|
924
|
+
* // Ordered by age ascending
|
|
925
|
+
* // Where email contains prisma.io
|
|
926
|
+
* // Limited to the 10 users
|
|
927
|
+
* const aggregations = await prisma.user.aggregate({
|
|
928
|
+
* _avg: {
|
|
929
|
+
* age: true,
|
|
930
|
+
* },
|
|
931
|
+
* where: {
|
|
932
|
+
* email: {
|
|
933
|
+
* contains: "prisma.io",
|
|
934
|
+
* },
|
|
935
|
+
* },
|
|
936
|
+
* orderBy: {
|
|
937
|
+
* age: "asc",
|
|
938
|
+
* },
|
|
939
|
+
* take: 10,
|
|
940
|
+
* })
|
|
941
|
+
**/
|
|
942
|
+
aggregate<T extends CodingAgentProfileAggregateArgs>(args: Prisma.Subset<T, CodingAgentProfileAggregateArgs>): Prisma.PrismaPromise<GetCodingAgentProfileAggregateType<T>>;
|
|
943
|
+
/**
|
|
944
|
+
* Group by CodingAgentProfile.
|
|
945
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
946
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
947
|
+
* @param {CodingAgentProfileGroupByArgs} args - Group by arguments.
|
|
948
|
+
* @example
|
|
949
|
+
* // Group by city, order by createdAt, get count
|
|
950
|
+
* const result = await prisma.user.groupBy({
|
|
951
|
+
* by: ['city', 'createdAt'],
|
|
952
|
+
* orderBy: {
|
|
953
|
+
* createdAt: true
|
|
954
|
+
* },
|
|
955
|
+
* _count: {
|
|
956
|
+
* _all: true
|
|
957
|
+
* },
|
|
958
|
+
* })
|
|
959
|
+
*
|
|
960
|
+
**/
|
|
961
|
+
groupBy<T extends CodingAgentProfileGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
962
|
+
orderBy: CodingAgentProfileGroupByArgs['orderBy'];
|
|
963
|
+
} : {
|
|
964
|
+
orderBy?: CodingAgentProfileGroupByArgs['orderBy'];
|
|
965
|
+
}, 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 ? {
|
|
966
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
967
|
+
Error,
|
|
968
|
+
'Field ',
|
|
969
|
+
P,
|
|
970
|
+
` in "having" needs to be provided in "by"`
|
|
971
|
+
];
|
|
972
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
973
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
974
|
+
}[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 ? {} : {
|
|
975
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
976
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
977
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
978
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, CodingAgentProfileGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCodingAgentProfileGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
979
|
+
/**
|
|
980
|
+
* Fields of the CodingAgentProfile model
|
|
981
|
+
*/
|
|
982
|
+
readonly fields: CodingAgentProfileFieldRefs;
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* The delegate class that acts as a "Promise-like" for CodingAgentProfile.
|
|
986
|
+
* Why is this prefixed with `Prisma__`?
|
|
987
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
988
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
989
|
+
*/
|
|
990
|
+
export interface Prisma__CodingAgentProfileClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
991
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
992
|
+
agent<T extends Prisma.AgentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentDefaultArgs<ExtArgs>>): Prisma.Prisma__AgentClient<runtime.Types.Result.GetResult<Prisma.$AgentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
993
|
+
/**
|
|
994
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
995
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
996
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
997
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
998
|
+
*/
|
|
999
|
+
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>;
|
|
1000
|
+
/**
|
|
1001
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1002
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1003
|
+
* @returns A Promise for the completion of the callback.
|
|
1004
|
+
*/
|
|
1005
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1006
|
+
/**
|
|
1007
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1008
|
+
* resolved value cannot be modified from the callback.
|
|
1009
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1010
|
+
* @returns A Promise for the completion of the callback.
|
|
1011
|
+
*/
|
|
1012
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1013
|
+
}
|
|
1014
|
+
/**
|
|
1015
|
+
* Fields of the CodingAgentProfile model
|
|
1016
|
+
*/
|
|
1017
|
+
export interface CodingAgentProfileFieldRefs {
|
|
1018
|
+
readonly agentId: Prisma.FieldRef<"CodingAgentProfile", 'String'>;
|
|
1019
|
+
readonly provider: Prisma.FieldRef<"CodingAgentProfile", 'String'>;
|
|
1020
|
+
readonly repository: Prisma.FieldRef<"CodingAgentProfile", 'String'>;
|
|
1021
|
+
readonly baseRef: Prisma.FieldRef<"CodingAgentProfile", 'String'>;
|
|
1022
|
+
readonly defaultTask: Prisma.FieldRef<"CodingAgentProfile", 'String'>;
|
|
1023
|
+
readonly allowWebhookTaskOverride: Prisma.FieldRef<"CodingAgentProfile", 'Boolean'>;
|
|
1024
|
+
readonly timeoutSec: Prisma.FieldRef<"CodingAgentProfile", 'Int'>;
|
|
1025
|
+
readonly allowedEgress: Prisma.FieldRef<"CodingAgentProfile", 'Json'>;
|
|
1026
|
+
readonly protectedPaths: Prisma.FieldRef<"CodingAgentProfile", 'Json'>;
|
|
1027
|
+
readonly toolchain: Prisma.FieldRef<"CodingAgentProfile", 'String'>;
|
|
1028
|
+
readonly toolchainVersion: Prisma.FieldRef<"CodingAgentProfile", 'String'>;
|
|
1029
|
+
readonly workerImageRef: Prisma.FieldRef<"CodingAgentProfile", 'String'>;
|
|
1030
|
+
readonly workspaceDiskMb: Prisma.FieldRef<"CodingAgentProfile", 'Int'>;
|
|
1031
|
+
}
|
|
1032
|
+
/**
|
|
1033
|
+
* CodingAgentProfile findUnique
|
|
1034
|
+
*/
|
|
1035
|
+
export type CodingAgentProfileFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1036
|
+
/**
|
|
1037
|
+
* Select specific fields to fetch from the CodingAgentProfile
|
|
1038
|
+
*/
|
|
1039
|
+
select?: Prisma.CodingAgentProfileSelect<ExtArgs> | null;
|
|
1040
|
+
/**
|
|
1041
|
+
* Omit specific fields from the CodingAgentProfile
|
|
1042
|
+
*/
|
|
1043
|
+
omit?: Prisma.CodingAgentProfileOmit<ExtArgs> | null;
|
|
1044
|
+
/**
|
|
1045
|
+
* Choose, which related nodes to fetch as well
|
|
1046
|
+
*/
|
|
1047
|
+
include?: Prisma.CodingAgentProfileInclude<ExtArgs> | null;
|
|
1048
|
+
/**
|
|
1049
|
+
* Filter, which CodingAgentProfile to fetch.
|
|
1050
|
+
*/
|
|
1051
|
+
where: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
1052
|
+
};
|
|
1053
|
+
/**
|
|
1054
|
+
* CodingAgentProfile findUniqueOrThrow
|
|
1055
|
+
*/
|
|
1056
|
+
export type CodingAgentProfileFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1057
|
+
/**
|
|
1058
|
+
* Select specific fields to fetch from the CodingAgentProfile
|
|
1059
|
+
*/
|
|
1060
|
+
select?: Prisma.CodingAgentProfileSelect<ExtArgs> | null;
|
|
1061
|
+
/**
|
|
1062
|
+
* Omit specific fields from the CodingAgentProfile
|
|
1063
|
+
*/
|
|
1064
|
+
omit?: Prisma.CodingAgentProfileOmit<ExtArgs> | null;
|
|
1065
|
+
/**
|
|
1066
|
+
* Choose, which related nodes to fetch as well
|
|
1067
|
+
*/
|
|
1068
|
+
include?: Prisma.CodingAgentProfileInclude<ExtArgs> | null;
|
|
1069
|
+
/**
|
|
1070
|
+
* Filter, which CodingAgentProfile to fetch.
|
|
1071
|
+
*/
|
|
1072
|
+
where: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
1073
|
+
};
|
|
1074
|
+
/**
|
|
1075
|
+
* CodingAgentProfile findFirst
|
|
1076
|
+
*/
|
|
1077
|
+
export type CodingAgentProfileFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1078
|
+
/**
|
|
1079
|
+
* Select specific fields to fetch from the CodingAgentProfile
|
|
1080
|
+
*/
|
|
1081
|
+
select?: Prisma.CodingAgentProfileSelect<ExtArgs> | null;
|
|
1082
|
+
/**
|
|
1083
|
+
* Omit specific fields from the CodingAgentProfile
|
|
1084
|
+
*/
|
|
1085
|
+
omit?: Prisma.CodingAgentProfileOmit<ExtArgs> | null;
|
|
1086
|
+
/**
|
|
1087
|
+
* Choose, which related nodes to fetch as well
|
|
1088
|
+
*/
|
|
1089
|
+
include?: Prisma.CodingAgentProfileInclude<ExtArgs> | null;
|
|
1090
|
+
/**
|
|
1091
|
+
* Filter, which CodingAgentProfile to fetch.
|
|
1092
|
+
*/
|
|
1093
|
+
where?: Prisma.CodingAgentProfileWhereInput;
|
|
1094
|
+
/**
|
|
1095
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1096
|
+
*
|
|
1097
|
+
* Determine the order of CodingAgentProfiles to fetch.
|
|
1098
|
+
*/
|
|
1099
|
+
orderBy?: Prisma.CodingAgentProfileOrderByWithRelationInput | Prisma.CodingAgentProfileOrderByWithRelationInput[];
|
|
1100
|
+
/**
|
|
1101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1102
|
+
*
|
|
1103
|
+
* Sets the position for searching for CodingAgentProfiles.
|
|
1104
|
+
*/
|
|
1105
|
+
cursor?: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
1106
|
+
/**
|
|
1107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1108
|
+
*
|
|
1109
|
+
* Take `±n` CodingAgentProfiles from the position of the cursor.
|
|
1110
|
+
*/
|
|
1111
|
+
take?: number;
|
|
1112
|
+
/**
|
|
1113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1114
|
+
*
|
|
1115
|
+
* Skip the first `n` CodingAgentProfiles.
|
|
1116
|
+
*/
|
|
1117
|
+
skip?: number;
|
|
1118
|
+
/**
|
|
1119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1120
|
+
*
|
|
1121
|
+
* Filter by unique combinations of CodingAgentProfiles.
|
|
1122
|
+
*/
|
|
1123
|
+
distinct?: Prisma.CodingAgentProfileScalarFieldEnum | Prisma.CodingAgentProfileScalarFieldEnum[];
|
|
1124
|
+
};
|
|
1125
|
+
/**
|
|
1126
|
+
* CodingAgentProfile findFirstOrThrow
|
|
1127
|
+
*/
|
|
1128
|
+
export type CodingAgentProfileFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1129
|
+
/**
|
|
1130
|
+
* Select specific fields to fetch from the CodingAgentProfile
|
|
1131
|
+
*/
|
|
1132
|
+
select?: Prisma.CodingAgentProfileSelect<ExtArgs> | null;
|
|
1133
|
+
/**
|
|
1134
|
+
* Omit specific fields from the CodingAgentProfile
|
|
1135
|
+
*/
|
|
1136
|
+
omit?: Prisma.CodingAgentProfileOmit<ExtArgs> | null;
|
|
1137
|
+
/**
|
|
1138
|
+
* Choose, which related nodes to fetch as well
|
|
1139
|
+
*/
|
|
1140
|
+
include?: Prisma.CodingAgentProfileInclude<ExtArgs> | null;
|
|
1141
|
+
/**
|
|
1142
|
+
* Filter, which CodingAgentProfile to fetch.
|
|
1143
|
+
*/
|
|
1144
|
+
where?: Prisma.CodingAgentProfileWhereInput;
|
|
1145
|
+
/**
|
|
1146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1147
|
+
*
|
|
1148
|
+
* Determine the order of CodingAgentProfiles to fetch.
|
|
1149
|
+
*/
|
|
1150
|
+
orderBy?: Prisma.CodingAgentProfileOrderByWithRelationInput | Prisma.CodingAgentProfileOrderByWithRelationInput[];
|
|
1151
|
+
/**
|
|
1152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1153
|
+
*
|
|
1154
|
+
* Sets the position for searching for CodingAgentProfiles.
|
|
1155
|
+
*/
|
|
1156
|
+
cursor?: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
1157
|
+
/**
|
|
1158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1159
|
+
*
|
|
1160
|
+
* Take `±n` CodingAgentProfiles from the position of the cursor.
|
|
1161
|
+
*/
|
|
1162
|
+
take?: number;
|
|
1163
|
+
/**
|
|
1164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1165
|
+
*
|
|
1166
|
+
* Skip the first `n` CodingAgentProfiles.
|
|
1167
|
+
*/
|
|
1168
|
+
skip?: number;
|
|
1169
|
+
/**
|
|
1170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1171
|
+
*
|
|
1172
|
+
* Filter by unique combinations of CodingAgentProfiles.
|
|
1173
|
+
*/
|
|
1174
|
+
distinct?: Prisma.CodingAgentProfileScalarFieldEnum | Prisma.CodingAgentProfileScalarFieldEnum[];
|
|
1175
|
+
};
|
|
1176
|
+
/**
|
|
1177
|
+
* CodingAgentProfile findMany
|
|
1178
|
+
*/
|
|
1179
|
+
export type CodingAgentProfileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1180
|
+
/**
|
|
1181
|
+
* Select specific fields to fetch from the CodingAgentProfile
|
|
1182
|
+
*/
|
|
1183
|
+
select?: Prisma.CodingAgentProfileSelect<ExtArgs> | null;
|
|
1184
|
+
/**
|
|
1185
|
+
* Omit specific fields from the CodingAgentProfile
|
|
1186
|
+
*/
|
|
1187
|
+
omit?: Prisma.CodingAgentProfileOmit<ExtArgs> | null;
|
|
1188
|
+
/**
|
|
1189
|
+
* Choose, which related nodes to fetch as well
|
|
1190
|
+
*/
|
|
1191
|
+
include?: Prisma.CodingAgentProfileInclude<ExtArgs> | null;
|
|
1192
|
+
/**
|
|
1193
|
+
* Filter, which CodingAgentProfiles to fetch.
|
|
1194
|
+
*/
|
|
1195
|
+
where?: Prisma.CodingAgentProfileWhereInput;
|
|
1196
|
+
/**
|
|
1197
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1198
|
+
*
|
|
1199
|
+
* Determine the order of CodingAgentProfiles to fetch.
|
|
1200
|
+
*/
|
|
1201
|
+
orderBy?: Prisma.CodingAgentProfileOrderByWithRelationInput | Prisma.CodingAgentProfileOrderByWithRelationInput[];
|
|
1202
|
+
/**
|
|
1203
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1204
|
+
*
|
|
1205
|
+
* Sets the position for listing CodingAgentProfiles.
|
|
1206
|
+
*/
|
|
1207
|
+
cursor?: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
1208
|
+
/**
|
|
1209
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1210
|
+
*
|
|
1211
|
+
* Take `±n` CodingAgentProfiles from the position of the cursor.
|
|
1212
|
+
*/
|
|
1213
|
+
take?: number;
|
|
1214
|
+
/**
|
|
1215
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1216
|
+
*
|
|
1217
|
+
* Skip the first `n` CodingAgentProfiles.
|
|
1218
|
+
*/
|
|
1219
|
+
skip?: number;
|
|
1220
|
+
/**
|
|
1221
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1222
|
+
*
|
|
1223
|
+
* Filter by unique combinations of CodingAgentProfiles.
|
|
1224
|
+
*/
|
|
1225
|
+
distinct?: Prisma.CodingAgentProfileScalarFieldEnum | Prisma.CodingAgentProfileScalarFieldEnum[];
|
|
1226
|
+
};
|
|
1227
|
+
/**
|
|
1228
|
+
* CodingAgentProfile create
|
|
1229
|
+
*/
|
|
1230
|
+
export type CodingAgentProfileCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1231
|
+
/**
|
|
1232
|
+
* Select specific fields to fetch from the CodingAgentProfile
|
|
1233
|
+
*/
|
|
1234
|
+
select?: Prisma.CodingAgentProfileSelect<ExtArgs> | null;
|
|
1235
|
+
/**
|
|
1236
|
+
* Omit specific fields from the CodingAgentProfile
|
|
1237
|
+
*/
|
|
1238
|
+
omit?: Prisma.CodingAgentProfileOmit<ExtArgs> | null;
|
|
1239
|
+
/**
|
|
1240
|
+
* Choose, which related nodes to fetch as well
|
|
1241
|
+
*/
|
|
1242
|
+
include?: Prisma.CodingAgentProfileInclude<ExtArgs> | null;
|
|
1243
|
+
/**
|
|
1244
|
+
* The data needed to create a CodingAgentProfile.
|
|
1245
|
+
*/
|
|
1246
|
+
data: Prisma.XOR<Prisma.CodingAgentProfileCreateInput, Prisma.CodingAgentProfileUncheckedCreateInput>;
|
|
1247
|
+
};
|
|
1248
|
+
/**
|
|
1249
|
+
* CodingAgentProfile createMany
|
|
1250
|
+
*/
|
|
1251
|
+
export type CodingAgentProfileCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1252
|
+
/**
|
|
1253
|
+
* The data used to create many CodingAgentProfiles.
|
|
1254
|
+
*/
|
|
1255
|
+
data: Prisma.CodingAgentProfileCreateManyInput | Prisma.CodingAgentProfileCreateManyInput[];
|
|
1256
|
+
skipDuplicates?: boolean;
|
|
1257
|
+
};
|
|
1258
|
+
/**
|
|
1259
|
+
* CodingAgentProfile createManyAndReturn
|
|
1260
|
+
*/
|
|
1261
|
+
export type CodingAgentProfileCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1262
|
+
/**
|
|
1263
|
+
* Select specific fields to fetch from the CodingAgentProfile
|
|
1264
|
+
*/
|
|
1265
|
+
select?: Prisma.CodingAgentProfileSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1266
|
+
/**
|
|
1267
|
+
* Omit specific fields from the CodingAgentProfile
|
|
1268
|
+
*/
|
|
1269
|
+
omit?: Prisma.CodingAgentProfileOmit<ExtArgs> | null;
|
|
1270
|
+
/**
|
|
1271
|
+
* The data used to create many CodingAgentProfiles.
|
|
1272
|
+
*/
|
|
1273
|
+
data: Prisma.CodingAgentProfileCreateManyInput | Prisma.CodingAgentProfileCreateManyInput[];
|
|
1274
|
+
skipDuplicates?: boolean;
|
|
1275
|
+
/**
|
|
1276
|
+
* Choose, which related nodes to fetch as well
|
|
1277
|
+
*/
|
|
1278
|
+
include?: Prisma.CodingAgentProfileIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1279
|
+
};
|
|
1280
|
+
/**
|
|
1281
|
+
* CodingAgentProfile update
|
|
1282
|
+
*/
|
|
1283
|
+
export type CodingAgentProfileUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1284
|
+
/**
|
|
1285
|
+
* Select specific fields to fetch from the CodingAgentProfile
|
|
1286
|
+
*/
|
|
1287
|
+
select?: Prisma.CodingAgentProfileSelect<ExtArgs> | null;
|
|
1288
|
+
/**
|
|
1289
|
+
* Omit specific fields from the CodingAgentProfile
|
|
1290
|
+
*/
|
|
1291
|
+
omit?: Prisma.CodingAgentProfileOmit<ExtArgs> | null;
|
|
1292
|
+
/**
|
|
1293
|
+
* Choose, which related nodes to fetch as well
|
|
1294
|
+
*/
|
|
1295
|
+
include?: Prisma.CodingAgentProfileInclude<ExtArgs> | null;
|
|
1296
|
+
/**
|
|
1297
|
+
* The data needed to update a CodingAgentProfile.
|
|
1298
|
+
*/
|
|
1299
|
+
data: Prisma.XOR<Prisma.CodingAgentProfileUpdateInput, Prisma.CodingAgentProfileUncheckedUpdateInput>;
|
|
1300
|
+
/**
|
|
1301
|
+
* Choose, which CodingAgentProfile to update.
|
|
1302
|
+
*/
|
|
1303
|
+
where: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
1304
|
+
};
|
|
1305
|
+
/**
|
|
1306
|
+
* CodingAgentProfile updateMany
|
|
1307
|
+
*/
|
|
1308
|
+
export type CodingAgentProfileUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1309
|
+
/**
|
|
1310
|
+
* The data used to update CodingAgentProfiles.
|
|
1311
|
+
*/
|
|
1312
|
+
data: Prisma.XOR<Prisma.CodingAgentProfileUpdateManyMutationInput, Prisma.CodingAgentProfileUncheckedUpdateManyInput>;
|
|
1313
|
+
/**
|
|
1314
|
+
* Filter which CodingAgentProfiles to update
|
|
1315
|
+
*/
|
|
1316
|
+
where?: Prisma.CodingAgentProfileWhereInput;
|
|
1317
|
+
/**
|
|
1318
|
+
* Limit how many CodingAgentProfiles to update.
|
|
1319
|
+
*/
|
|
1320
|
+
limit?: number;
|
|
1321
|
+
};
|
|
1322
|
+
/**
|
|
1323
|
+
* CodingAgentProfile updateManyAndReturn
|
|
1324
|
+
*/
|
|
1325
|
+
export type CodingAgentProfileUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1326
|
+
/**
|
|
1327
|
+
* Select specific fields to fetch from the CodingAgentProfile
|
|
1328
|
+
*/
|
|
1329
|
+
select?: Prisma.CodingAgentProfileSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1330
|
+
/**
|
|
1331
|
+
* Omit specific fields from the CodingAgentProfile
|
|
1332
|
+
*/
|
|
1333
|
+
omit?: Prisma.CodingAgentProfileOmit<ExtArgs> | null;
|
|
1334
|
+
/**
|
|
1335
|
+
* The data used to update CodingAgentProfiles.
|
|
1336
|
+
*/
|
|
1337
|
+
data: Prisma.XOR<Prisma.CodingAgentProfileUpdateManyMutationInput, Prisma.CodingAgentProfileUncheckedUpdateManyInput>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Filter which CodingAgentProfiles to update
|
|
1340
|
+
*/
|
|
1341
|
+
where?: Prisma.CodingAgentProfileWhereInput;
|
|
1342
|
+
/**
|
|
1343
|
+
* Limit how many CodingAgentProfiles to update.
|
|
1344
|
+
*/
|
|
1345
|
+
limit?: number;
|
|
1346
|
+
/**
|
|
1347
|
+
* Choose, which related nodes to fetch as well
|
|
1348
|
+
*/
|
|
1349
|
+
include?: Prisma.CodingAgentProfileIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1350
|
+
};
|
|
1351
|
+
/**
|
|
1352
|
+
* CodingAgentProfile upsert
|
|
1353
|
+
*/
|
|
1354
|
+
export type CodingAgentProfileUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1355
|
+
/**
|
|
1356
|
+
* Select specific fields to fetch from the CodingAgentProfile
|
|
1357
|
+
*/
|
|
1358
|
+
select?: Prisma.CodingAgentProfileSelect<ExtArgs> | null;
|
|
1359
|
+
/**
|
|
1360
|
+
* Omit specific fields from the CodingAgentProfile
|
|
1361
|
+
*/
|
|
1362
|
+
omit?: Prisma.CodingAgentProfileOmit<ExtArgs> | null;
|
|
1363
|
+
/**
|
|
1364
|
+
* Choose, which related nodes to fetch as well
|
|
1365
|
+
*/
|
|
1366
|
+
include?: Prisma.CodingAgentProfileInclude<ExtArgs> | null;
|
|
1367
|
+
/**
|
|
1368
|
+
* The filter to search for the CodingAgentProfile to update in case it exists.
|
|
1369
|
+
*/
|
|
1370
|
+
where: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
1371
|
+
/**
|
|
1372
|
+
* In case the CodingAgentProfile found by the `where` argument doesn't exist, create a new CodingAgentProfile with this data.
|
|
1373
|
+
*/
|
|
1374
|
+
create: Prisma.XOR<Prisma.CodingAgentProfileCreateInput, Prisma.CodingAgentProfileUncheckedCreateInput>;
|
|
1375
|
+
/**
|
|
1376
|
+
* In case the CodingAgentProfile was found with the provided `where` argument, update it with this data.
|
|
1377
|
+
*/
|
|
1378
|
+
update: Prisma.XOR<Prisma.CodingAgentProfileUpdateInput, Prisma.CodingAgentProfileUncheckedUpdateInput>;
|
|
1379
|
+
};
|
|
1380
|
+
/**
|
|
1381
|
+
* CodingAgentProfile delete
|
|
1382
|
+
*/
|
|
1383
|
+
export type CodingAgentProfileDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1384
|
+
/**
|
|
1385
|
+
* Select specific fields to fetch from the CodingAgentProfile
|
|
1386
|
+
*/
|
|
1387
|
+
select?: Prisma.CodingAgentProfileSelect<ExtArgs> | null;
|
|
1388
|
+
/**
|
|
1389
|
+
* Omit specific fields from the CodingAgentProfile
|
|
1390
|
+
*/
|
|
1391
|
+
omit?: Prisma.CodingAgentProfileOmit<ExtArgs> | null;
|
|
1392
|
+
/**
|
|
1393
|
+
* Choose, which related nodes to fetch as well
|
|
1394
|
+
*/
|
|
1395
|
+
include?: Prisma.CodingAgentProfileInclude<ExtArgs> | null;
|
|
1396
|
+
/**
|
|
1397
|
+
* Filter which CodingAgentProfile to delete.
|
|
1398
|
+
*/
|
|
1399
|
+
where: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
1400
|
+
};
|
|
1401
|
+
/**
|
|
1402
|
+
* CodingAgentProfile deleteMany
|
|
1403
|
+
*/
|
|
1404
|
+
export type CodingAgentProfileDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1405
|
+
/**
|
|
1406
|
+
* Filter which CodingAgentProfiles to delete
|
|
1407
|
+
*/
|
|
1408
|
+
where?: Prisma.CodingAgentProfileWhereInput;
|
|
1409
|
+
/**
|
|
1410
|
+
* Limit how many CodingAgentProfiles to delete.
|
|
1411
|
+
*/
|
|
1412
|
+
limit?: number;
|
|
1413
|
+
};
|
|
1414
|
+
/**
|
|
1415
|
+
* CodingAgentProfile without action
|
|
1416
|
+
*/
|
|
1417
|
+
export type CodingAgentProfileDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1418
|
+
/**
|
|
1419
|
+
* Select specific fields to fetch from the CodingAgentProfile
|
|
1420
|
+
*/
|
|
1421
|
+
select?: Prisma.CodingAgentProfileSelect<ExtArgs> | null;
|
|
1422
|
+
/**
|
|
1423
|
+
* Omit specific fields from the CodingAgentProfile
|
|
1424
|
+
*/
|
|
1425
|
+
omit?: Prisma.CodingAgentProfileOmit<ExtArgs> | null;
|
|
1426
|
+
/**
|
|
1427
|
+
* Choose, which related nodes to fetch as well
|
|
1428
|
+
*/
|
|
1429
|
+
include?: Prisma.CodingAgentProfileInclude<ExtArgs> | null;
|
|
1430
|
+
};
|