@prenta/core 8.9.2 → 8.10.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.
- package/CHANGELOG.md +96 -0
- package/dist/actions.d.ts +25 -0
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +51 -4
- package/dist/actions.js.map +1 -1
- package/dist/ai/batch-links.d.ts +105 -0
- package/dist/ai/batch-links.d.ts.map +1 -0
- package/dist/ai/batch-links.js +667 -0
- package/dist/ai/batch-links.js.map +1 -0
- package/dist/ai/batch-list.d.ts +127 -4
- package/dist/ai/batch-list.d.ts.map +1 -1
- package/dist/ai/batch-list.js +250 -14
- package/dist/ai/batch-list.js.map +1 -1
- package/dist/ai/providers/http.d.ts +4 -0
- package/dist/ai/providers/http.d.ts.map +1 -1
- package/dist/ai/providers/http.js +9 -8
- package/dist/ai/providers/http.js.map +1 -1
- package/dist/ai/tasks/editor-text.d.ts +39 -0
- package/dist/ai/tasks/editor-text.d.ts.map +1 -0
- package/dist/ai/tasks/editor-text.js +45 -0
- package/dist/ai/tasks/editor-text.js.map +1 -0
- package/dist/ai/tasks/link-embeddings.d.ts +22 -0
- package/dist/ai/tasks/link-embeddings.d.ts.map +1 -1
- package/dist/ai/tasks/link-embeddings.js +24 -10
- package/dist/ai/tasks/link-embeddings.js.map +1 -1
- package/dist/ai/usage.d.ts +7 -0
- package/dist/ai/usage.d.ts.map +1 -1
- package/dist/ai/usage.js +11 -0
- package/dist/ai/usage.js.map +1 -1
- package/dist/api/guarded-db.d.ts +6 -0
- package/dist/api/guarded-db.d.ts.map +1 -1
- package/dist/api/guarded-db.js +13 -1
- package/dist/api/guarded-db.js.map +1 -1
- package/dist/api/handlers.d.ts.map +1 -1
- package/dist/api/handlers.js +2 -0
- package/dist/api/handlers.js.map +1 -1
- package/dist/api/openapi.d.ts.map +1 -1
- package/dist/api/openapi.js +47 -0
- package/dist/api/openapi.js.map +1 -1
- package/dist/api/route-helpers/forms.d.ts.map +1 -1
- package/dist/api/route-helpers/forms.js +7 -1
- package/dist/api/route-helpers/forms.js.map +1 -1
- package/dist/api/routes/ai-authoring.d.ts.map +1 -1
- package/dist/api/routes/ai-authoring.js +1 -0
- package/dist/api/routes/ai-authoring.js.map +1 -1
- package/dist/api/routes/ai-seo.d.ts.map +1 -1
- package/dist/api/routes/ai-seo.js +20 -18
- package/dist/api/routes/ai-seo.js.map +1 -1
- package/dist/api/routes/media.d.ts.map +1 -1
- package/dist/api/routes/media.js +3 -1
- package/dist/api/routes/media.js.map +1 -1
- package/dist/api/routes/scheduling.d.ts.map +1 -1
- package/dist/api/routes/scheduling.js +33 -2
- package/dist/api/routes/scheduling.js.map +1 -1
- package/dist/appearance/color.d.ts +17 -0
- package/dist/appearance/color.d.ts.map +1 -1
- package/dist/appearance/color.js +162 -1
- package/dist/appearance/color.js.map +1 -1
- package/dist/appearance/index.d.ts +3 -3
- package/dist/appearance/index.d.ts.map +1 -1
- package/dist/appearance/index.js +2 -2
- package/dist/appearance/index.js.map +1 -1
- package/dist/appearance/resolve.d.ts.map +1 -1
- package/dist/appearance/resolve.js +4 -2
- package/dist/appearance/resolve.js.map +1 -1
- package/dist/appearance/theme-tokens.d.ts +60 -11
- package/dist/appearance/theme-tokens.d.ts.map +1 -1
- package/dist/appearance/theme-tokens.js +184 -175
- package/dist/appearance/theme-tokens.js.map +1 -1
- package/dist/appearance/types.d.ts +16 -2
- package/dist/appearance/types.d.ts.map +1 -1
- package/dist/astro-site.d.ts +1 -11
- package/dist/astro-site.d.ts.map +1 -1
- package/dist/astro-site.js +4 -0
- package/dist/astro-site.js.map +1 -1
- package/dist/auth/team.d.ts +1 -0
- package/dist/auth/team.d.ts.map +1 -1
- package/dist/auth/team.js +1 -1
- package/dist/auth/team.js.map +1 -1
- package/dist/cache/http.d.ts +20 -0
- package/dist/cache/http.d.ts.map +1 -1
- package/dist/cache/http.js +42 -0
- package/dist/cache/http.js.map +1 -1
- package/dist/chrome/announcement.d.ts +30 -0
- package/dist/chrome/announcement.d.ts.map +1 -0
- package/dist/chrome/announcement.js +190 -0
- package/dist/chrome/announcement.js.map +1 -0
- package/dist/chrome/codegen.d.ts +17 -0
- package/dist/chrome/codegen.d.ts.map +1 -0
- package/dist/chrome/codegen.js +96 -0
- package/dist/chrome/codegen.js.map +1 -0
- package/dist/chrome/contract.d.ts +142 -0
- package/dist/chrome/contract.d.ts.map +1 -0
- package/dist/chrome/contract.js +2 -0
- package/dist/chrome/contract.js.map +1 -0
- package/dist/chrome/memory-store.d.ts +15 -0
- package/dist/chrome/memory-store.d.ts.map +1 -0
- package/dist/chrome/memory-store.js +54 -0
- package/dist/chrome/memory-store.js.map +1 -0
- package/dist/chrome/parse.d.ts +36 -0
- package/dist/chrome/parse.d.ts.map +1 -0
- package/dist/chrome/parse.js +277 -0
- package/dist/chrome/parse.js.map +1 -0
- package/dist/chrome/prisma-store.d.ts +11 -0
- package/dist/chrome/prisma-store.d.ts.map +1 -0
- package/dist/chrome/prisma-store.js +48 -0
- package/dist/chrome/prisma-store.js.map +1 -0
- package/dist/chrome/public.d.ts +22 -0
- package/dist/chrome/public.d.ts.map +1 -0
- package/dist/chrome/public.js +181 -0
- package/dist/chrome/public.js.map +1 -0
- package/dist/chrome/resolve.d.ts +36 -0
- package/dist/chrome/resolve.d.ts.map +1 -0
- package/dist/chrome/resolve.js +165 -0
- package/dist/chrome/resolve.js.map +1 -0
- package/dist/chrome/revalidate.d.ts +9 -0
- package/dist/chrome/revalidate.d.ts.map +1 -0
- package/dist/chrome/revalidate.js +51 -0
- package/dist/chrome/revalidate.js.map +1 -0
- package/dist/chrome/routes.d.ts +14 -0
- package/dist/chrome/routes.d.ts.map +1 -0
- package/dist/chrome/routes.js +306 -0
- package/dist/chrome/routes.js.map +1 -0
- package/dist/chrome/schema.d.ts +231 -0
- package/dist/chrome/schema.d.ts.map +1 -0
- package/dist/chrome/schema.js +73 -0
- package/dist/chrome/schema.js.map +1 -0
- package/dist/chrome/service.d.ts +76 -0
- package/dist/chrome/service.d.ts.map +1 -0
- package/dist/chrome/service.js +286 -0
- package/dist/chrome/service.js.map +1 -0
- package/dist/chrome/settings.d.ts +14 -0
- package/dist/chrome/settings.d.ts.map +1 -0
- package/dist/chrome/settings.js +142 -0
- package/dist/chrome/settings.js.map +1 -0
- package/dist/chrome/store.d.ts +48 -0
- package/dist/chrome/store.d.ts.map +1 -0
- package/dist/chrome/store.js +26 -0
- package/dist/chrome/store.js.map +1 -0
- package/dist/chrome/values.d.ts +98 -0
- package/dist/chrome/values.d.ts.map +1 -0
- package/dist/chrome/values.js +491 -0
- package/dist/chrome/values.js.map +1 -0
- package/dist/config/define.d.ts +2 -0
- package/dist/config/define.d.ts.map +1 -1
- package/dist/config/define.js +2 -0
- package/dist/config/define.js.map +1 -1
- package/dist/db/model-types.d.ts +62 -0
- package/dist/db/model-types.d.ts.map +1 -1
- package/dist/forms/attribution-settings.d.ts +23 -0
- package/dist/forms/attribution-settings.d.ts.map +1 -0
- package/dist/forms/attribution-settings.js +42 -0
- package/dist/forms/attribution-settings.js.map +1 -0
- package/dist/forms/attribution.d.ts +5 -1
- package/dist/forms/attribution.d.ts.map +1 -1
- package/dist/forms/attribution.js +6 -4
- package/dist/forms/attribution.js.map +1 -1
- package/dist/forms/client-validation.d.ts.map +1 -1
- package/dist/forms/client-validation.js +3 -0
- package/dist/forms/client-validation.js.map +1 -1
- package/dist/forms/form-model.d.ts +109 -0
- package/dist/forms/form-model.d.ts.map +1 -0
- package/dist/forms/form-model.js +192 -0
- package/dist/forms/form-model.js.map +1 -0
- package/dist/forms/index.d.ts +2 -2
- package/dist/forms/index.d.ts.map +1 -1
- package/dist/forms/index.js +1 -1
- package/dist/forms/index.js.map +1 -1
- package/dist/forms/service.d.ts +19 -1
- package/dist/forms/service.d.ts.map +1 -1
- package/dist/forms/service.js +152 -0
- package/dist/forms/service.js.map +1 -1
- package/dist/forms/spam.d.ts +0 -12
- package/dist/forms/spam.d.ts.map +1 -1
- package/dist/forms/spam.js +30 -0
- package/dist/forms/spam.js.map +1 -1
- package/dist/forms/submission.d.ts +7 -0
- package/dist/forms/submission.d.ts.map +1 -1
- package/dist/forms/submission.js +33 -0
- package/dist/forms/submission.js.map +1 -1
- package/dist/forms/types.d.ts +26 -1
- package/dist/forms/types.d.ts.map +1 -1
- package/dist/forms/types.js +9 -1
- package/dist/forms/types.js.map +1 -1
- package/dist/generated/browser.d.ts +35 -3
- package/dist/generated/client.d.ts +35 -3
- package/dist/generated/internal/class.d.ts +44 -0
- package/dist/generated/internal/class.js +4 -4
- package/dist/generated/internal/prismaNamespace.d.ts +403 -1
- package/dist/generated/internal/prismaNamespace.js +95 -1
- package/dist/generated/internal/prismaNamespaceBrowser.d.ts +102 -0
- package/dist/generated/internal/prismaNamespaceBrowser.js +95 -1
- package/dist/generated/models/ChromeRegion.d.ts +1203 -0
- package/dist/generated/models/ChromeRegion.js +1 -0
- package/dist/generated/models/Job.d.ts +732 -5
- package/dist/generated/models/JobEvent.d.ts +1339 -0
- package/dist/generated/models/JobEvent.js +1 -0
- package/dist/generated/models/JobReviewItem.d.ts +1470 -0
- package/dist/generated/models/JobReviewItem.js +1 -0
- package/dist/generated/models/SystemSetting.d.ts +952 -0
- package/dist/generated/models/SystemSetting.js +1 -0
- package/dist/generated/models.d.ts +4 -0
- package/dist/index.d.ts +12 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/jobs/batch-ai.d.ts +53 -0
- package/dist/jobs/batch-ai.d.ts.map +1 -0
- package/dist/jobs/batch-ai.js +314 -0
- package/dist/jobs/batch-ai.js.map +1 -0
- package/dist/jobs/contract.d.ts +186 -0
- package/dist/jobs/contract.d.ts.map +1 -0
- package/dist/jobs/contract.js +2 -0
- package/dist/jobs/contract.js.map +1 -0
- package/dist/jobs/error-text.d.ts +23 -0
- package/dist/jobs/error-text.d.ts.map +1 -0
- package/dist/jobs/error-text.js +110 -0
- package/dist/jobs/error-text.js.map +1 -0
- package/dist/jobs/handlers.d.ts.map +1 -1
- package/dist/jobs/handlers.js +48 -7
- package/dist/jobs/handlers.js.map +1 -1
- package/dist/jobs/memory-store.d.ts +26 -2
- package/dist/jobs/memory-store.d.ts.map +1 -1
- package/dist/jobs/memory-store.js +157 -3
- package/dist/jobs/memory-store.js.map +1 -1
- package/dist/jobs/outcomes.d.ts +46 -0
- package/dist/jobs/outcomes.d.ts.map +1 -0
- package/dist/jobs/outcomes.js +251 -0
- package/dist/jobs/outcomes.js.map +1 -0
- package/dist/jobs/prisma-store.d.ts +14 -2
- package/dist/jobs/prisma-store.d.ts.map +1 -1
- package/dist/jobs/prisma-store.js +257 -15
- package/dist/jobs/prisma-store.js.map +1 -1
- package/dist/jobs/queue.d.ts +62 -2
- package/dist/jobs/queue.d.ts.map +1 -1
- package/dist/jobs/queue.js +412 -36
- package/dist/jobs/queue.js.map +1 -1
- package/dist/jobs/retention.d.ts +11 -0
- package/dist/jobs/retention.d.ts.map +1 -0
- package/dist/jobs/retention.js +18 -0
- package/dist/jobs/retention.js.map +1 -0
- package/dist/jobs/review.d.ts +111 -0
- package/dist/jobs/review.d.ts.map +1 -0
- package/dist/jobs/review.js +461 -0
- package/dist/jobs/review.js.map +1 -0
- package/dist/jobs/routes.d.ts.map +1 -1
- package/dist/jobs/routes.js +491 -16
- package/dist/jobs/routes.js.map +1 -1
- package/dist/jobs/serialize.d.ts +40 -0
- package/dist/jobs/serialize.d.ts.map +1 -0
- package/dist/jobs/serialize.js +270 -0
- package/dist/jobs/serialize.js.map +1 -0
- package/dist/jobs/types.d.ts +141 -2
- package/dist/jobs/types.d.ts.map +1 -1
- package/dist/jobs/worker-status.d.ts +27 -0
- package/dist/jobs/worker-status.d.ts.map +1 -0
- package/dist/jobs/worker-status.js +66 -0
- package/dist/jobs/worker-status.js.map +1 -0
- package/dist/media/optimize.d.ts.map +1 -1
- package/dist/media/optimize.js +4 -2
- package/dist/media/optimize.js.map +1 -1
- package/dist/next-site.d.ts +1 -0
- package/dist/next-site.d.ts.map +1 -1
- package/dist/next-site.js +3 -0
- package/dist/next-site.js.map +1 -1
- package/dist/seo/audit-runner.d.ts.map +1 -1
- package/dist/seo/audit-runner.js +23 -2
- package/dist/seo/audit-runner.js.map +1 -1
- package/dist/seo/issue-fix-link-insert.d.ts +11 -0
- package/dist/seo/issue-fix-link-insert.d.ts.map +1 -1
- package/dist/seo/issue-fix-link-insert.js +122 -8
- package/dist/seo/issue-fix-link-insert.js.map +1 -1
- package/dist/server-site.d.ts.map +1 -1
- package/dist/server-site.js +15 -0
- package/dist/server-site.js.map +1 -1
- package/dist/site.d.ts +8 -0
- package/dist/site.d.ts.map +1 -1
- package/dist/site.js +6 -0
- package/dist/site.js.map +1 -1
- package/dist/webhooks/index.d.ts +3 -1
- package/dist/webhooks/index.d.ts.map +1 -1
- package/dist/webhooks/index.js.map +1 -1
- package/package.json +6 -1
- package/prisma/migrations/0025_job_cancel_review/down.sql +60 -0
- package/prisma/migrations/0025_job_cancel_review/migration.sql +56 -0
- package/prisma/migrations/0026_job_creator_system_settings/down.sql +30 -0
- package/prisma/migrations/0026_job_creator_system_settings/migration.sql +14 -0
- package/prisma/migrations/0027_chrome_regions/down.sql +24 -0
- package/prisma/migrations/0027_chrome_regions/migration.sql +16 -0
- package/prisma/schema.prisma +105 -15
|
@@ -3,9 +3,10 @@ import type * as Prisma from "../internal/prismaNamespace.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Model Job
|
|
5
5
|
* Background work for SEO audit, content health, and batch AI.
|
|
6
|
-
* `status` is queued | running | succeeded | dead
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* `status` is queued | running | succeeded | dead | cancelled. Only queued
|
|
7
|
+
* rows are claimed: a dead row is the dead-letter and a cancelled row is
|
|
8
|
+
* final, so neither runs again. Ids are minted by the queue so a stub
|
|
9
|
+
* database that ignores `create` still returns a job id.
|
|
9
10
|
*/
|
|
10
11
|
export type JobModel = runtime.Types.Result.DefaultSelection<Prisma.$JobPayload>;
|
|
11
12
|
export type AggregateJob = {
|
|
@@ -18,10 +19,14 @@ export type AggregateJob = {
|
|
|
18
19
|
export type JobAvgAggregateOutputType = {
|
|
19
20
|
attempts: number | null;
|
|
20
21
|
maxAttempts: number | null;
|
|
22
|
+
tokensIn: number | null;
|
|
23
|
+
tokensOut: number | null;
|
|
21
24
|
};
|
|
22
25
|
export type JobSumAggregateOutputType = {
|
|
23
26
|
attempts: number | null;
|
|
24
27
|
maxAttempts: number | null;
|
|
28
|
+
tokensIn: number | null;
|
|
29
|
+
tokensOut: number | null;
|
|
25
30
|
};
|
|
26
31
|
export type JobMinAggregateOutputType = {
|
|
27
32
|
id: string | null;
|
|
@@ -32,6 +37,16 @@ export type JobMinAggregateOutputType = {
|
|
|
32
37
|
runAt: Date | null;
|
|
33
38
|
lockedAt: Date | null;
|
|
34
39
|
lastError: string | null;
|
|
40
|
+
cancelRequestedAt: Date | null;
|
|
41
|
+
cancelledById: string | null;
|
|
42
|
+
createdById: string | null;
|
|
43
|
+
title: string | null;
|
|
44
|
+
scope: string | null;
|
|
45
|
+
tokensIn: number | null;
|
|
46
|
+
tokensOut: number | null;
|
|
47
|
+
explain: string | null;
|
|
48
|
+
summary: string | null;
|
|
49
|
+
finishedAt: Date | null;
|
|
35
50
|
createdAt: Date | null;
|
|
36
51
|
updatedAt: Date | null;
|
|
37
52
|
};
|
|
@@ -44,6 +59,16 @@ export type JobMaxAggregateOutputType = {
|
|
|
44
59
|
runAt: Date | null;
|
|
45
60
|
lockedAt: Date | null;
|
|
46
61
|
lastError: string | null;
|
|
62
|
+
cancelRequestedAt: Date | null;
|
|
63
|
+
cancelledById: string | null;
|
|
64
|
+
createdById: string | null;
|
|
65
|
+
title: string | null;
|
|
66
|
+
scope: string | null;
|
|
67
|
+
tokensIn: number | null;
|
|
68
|
+
tokensOut: number | null;
|
|
69
|
+
explain: string | null;
|
|
70
|
+
summary: string | null;
|
|
71
|
+
finishedAt: Date | null;
|
|
47
72
|
createdAt: Date | null;
|
|
48
73
|
updatedAt: Date | null;
|
|
49
74
|
};
|
|
@@ -58,6 +83,17 @@ export type JobCountAggregateOutputType = {
|
|
|
58
83
|
lockedAt: number;
|
|
59
84
|
lastError: number;
|
|
60
85
|
progress: number;
|
|
86
|
+
cancelRequestedAt: number;
|
|
87
|
+
cancelledById: number;
|
|
88
|
+
createdById: number;
|
|
89
|
+
title: number;
|
|
90
|
+
scope: number;
|
|
91
|
+
tokensIn: number;
|
|
92
|
+
tokensOut: number;
|
|
93
|
+
explain: number;
|
|
94
|
+
summary: number;
|
|
95
|
+
results: number;
|
|
96
|
+
finishedAt: number;
|
|
61
97
|
createdAt: number;
|
|
62
98
|
updatedAt: number;
|
|
63
99
|
_all: number;
|
|
@@ -65,10 +101,14 @@ export type JobCountAggregateOutputType = {
|
|
|
65
101
|
export type JobAvgAggregateInputType = {
|
|
66
102
|
attempts?: true;
|
|
67
103
|
maxAttempts?: true;
|
|
104
|
+
tokensIn?: true;
|
|
105
|
+
tokensOut?: true;
|
|
68
106
|
};
|
|
69
107
|
export type JobSumAggregateInputType = {
|
|
70
108
|
attempts?: true;
|
|
71
109
|
maxAttempts?: true;
|
|
110
|
+
tokensIn?: true;
|
|
111
|
+
tokensOut?: true;
|
|
72
112
|
};
|
|
73
113
|
export type JobMinAggregateInputType = {
|
|
74
114
|
id?: true;
|
|
@@ -79,6 +119,16 @@ export type JobMinAggregateInputType = {
|
|
|
79
119
|
runAt?: true;
|
|
80
120
|
lockedAt?: true;
|
|
81
121
|
lastError?: true;
|
|
122
|
+
cancelRequestedAt?: true;
|
|
123
|
+
cancelledById?: true;
|
|
124
|
+
createdById?: true;
|
|
125
|
+
title?: true;
|
|
126
|
+
scope?: true;
|
|
127
|
+
tokensIn?: true;
|
|
128
|
+
tokensOut?: true;
|
|
129
|
+
explain?: true;
|
|
130
|
+
summary?: true;
|
|
131
|
+
finishedAt?: true;
|
|
82
132
|
createdAt?: true;
|
|
83
133
|
updatedAt?: true;
|
|
84
134
|
};
|
|
@@ -91,6 +141,16 @@ export type JobMaxAggregateInputType = {
|
|
|
91
141
|
runAt?: true;
|
|
92
142
|
lockedAt?: true;
|
|
93
143
|
lastError?: true;
|
|
144
|
+
cancelRequestedAt?: true;
|
|
145
|
+
cancelledById?: true;
|
|
146
|
+
createdById?: true;
|
|
147
|
+
title?: true;
|
|
148
|
+
scope?: true;
|
|
149
|
+
tokensIn?: true;
|
|
150
|
+
tokensOut?: true;
|
|
151
|
+
explain?: true;
|
|
152
|
+
summary?: true;
|
|
153
|
+
finishedAt?: true;
|
|
94
154
|
createdAt?: true;
|
|
95
155
|
updatedAt?: true;
|
|
96
156
|
};
|
|
@@ -105,6 +165,17 @@ export type JobCountAggregateInputType = {
|
|
|
105
165
|
lockedAt?: true;
|
|
106
166
|
lastError?: true;
|
|
107
167
|
progress?: true;
|
|
168
|
+
cancelRequestedAt?: true;
|
|
169
|
+
cancelledById?: true;
|
|
170
|
+
createdById?: true;
|
|
171
|
+
title?: true;
|
|
172
|
+
scope?: true;
|
|
173
|
+
tokensIn?: true;
|
|
174
|
+
tokensOut?: true;
|
|
175
|
+
explain?: true;
|
|
176
|
+
summary?: true;
|
|
177
|
+
results?: true;
|
|
178
|
+
finishedAt?: true;
|
|
108
179
|
createdAt?: true;
|
|
109
180
|
updatedAt?: true;
|
|
110
181
|
_all?: true;
|
|
@@ -196,6 +267,17 @@ export type JobGroupByOutputType = {
|
|
|
196
267
|
lockedAt: Date | null;
|
|
197
268
|
lastError: string | null;
|
|
198
269
|
progress: runtime.JsonValue;
|
|
270
|
+
cancelRequestedAt: Date | null;
|
|
271
|
+
cancelledById: string | null;
|
|
272
|
+
createdById: string | null;
|
|
273
|
+
title: string | null;
|
|
274
|
+
scope: string | null;
|
|
275
|
+
tokensIn: number;
|
|
276
|
+
tokensOut: number;
|
|
277
|
+
explain: string | null;
|
|
278
|
+
summary: string | null;
|
|
279
|
+
results: runtime.JsonValue | null;
|
|
280
|
+
finishedAt: Date | null;
|
|
199
281
|
createdAt: Date;
|
|
200
282
|
updatedAt: Date;
|
|
201
283
|
_count: JobCountAggregateOutputType | null;
|
|
@@ -221,8 +303,21 @@ export type JobWhereInput = {
|
|
|
221
303
|
lockedAt?: Prisma.DateTimeNullableFilter<"Job"> | Date | string | null;
|
|
222
304
|
lastError?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
223
305
|
progress?: Prisma.JsonFilter<"Job">;
|
|
306
|
+
cancelRequestedAt?: Prisma.DateTimeNullableFilter<"Job"> | Date | string | null;
|
|
307
|
+
cancelledById?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
308
|
+
createdById?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
309
|
+
title?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
310
|
+
scope?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
311
|
+
tokensIn?: Prisma.IntFilter<"Job"> | number;
|
|
312
|
+
tokensOut?: Prisma.IntFilter<"Job"> | number;
|
|
313
|
+
explain?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
314
|
+
summary?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
315
|
+
results?: Prisma.JsonNullableFilter<"Job">;
|
|
316
|
+
finishedAt?: Prisma.DateTimeNullableFilter<"Job"> | Date | string | null;
|
|
224
317
|
createdAt?: Prisma.DateTimeFilter<"Job"> | Date | string;
|
|
225
318
|
updatedAt?: Prisma.DateTimeFilter<"Job"> | Date | string;
|
|
319
|
+
events?: Prisma.JobEventListRelationFilter;
|
|
320
|
+
reviewItems?: Prisma.JobReviewItemListRelationFilter;
|
|
226
321
|
};
|
|
227
322
|
export type JobOrderByWithRelationInput = {
|
|
228
323
|
id?: Prisma.SortOrder;
|
|
@@ -235,8 +330,21 @@ export type JobOrderByWithRelationInput = {
|
|
|
235
330
|
lockedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
236
331
|
lastError?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
237
332
|
progress?: Prisma.SortOrder;
|
|
333
|
+
cancelRequestedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
334
|
+
cancelledById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
335
|
+
createdById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
336
|
+
title?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
337
|
+
scope?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
338
|
+
tokensIn?: Prisma.SortOrder;
|
|
339
|
+
tokensOut?: Prisma.SortOrder;
|
|
340
|
+
explain?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
341
|
+
summary?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
342
|
+
results?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
343
|
+
finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
238
344
|
createdAt?: Prisma.SortOrder;
|
|
239
345
|
updatedAt?: Prisma.SortOrder;
|
|
346
|
+
events?: Prisma.JobEventOrderByRelationAggregateInput;
|
|
347
|
+
reviewItems?: Prisma.JobReviewItemOrderByRelationAggregateInput;
|
|
240
348
|
_relevance?: Prisma.JobOrderByRelevanceInput;
|
|
241
349
|
};
|
|
242
350
|
export type JobWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -253,8 +361,21 @@ export type JobWhereUniqueInput = Prisma.AtLeast<{
|
|
|
253
361
|
lockedAt?: Prisma.DateTimeNullableFilter<"Job"> | Date | string | null;
|
|
254
362
|
lastError?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
255
363
|
progress?: Prisma.JsonFilter<"Job">;
|
|
364
|
+
cancelRequestedAt?: Prisma.DateTimeNullableFilter<"Job"> | Date | string | null;
|
|
365
|
+
cancelledById?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
366
|
+
createdById?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
367
|
+
title?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
368
|
+
scope?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
369
|
+
tokensIn?: Prisma.IntFilter<"Job"> | number;
|
|
370
|
+
tokensOut?: Prisma.IntFilter<"Job"> | number;
|
|
371
|
+
explain?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
372
|
+
summary?: Prisma.StringNullableFilter<"Job"> | string | null;
|
|
373
|
+
results?: Prisma.JsonNullableFilter<"Job">;
|
|
374
|
+
finishedAt?: Prisma.DateTimeNullableFilter<"Job"> | Date | string | null;
|
|
256
375
|
createdAt?: Prisma.DateTimeFilter<"Job"> | Date | string;
|
|
257
376
|
updatedAt?: Prisma.DateTimeFilter<"Job"> | Date | string;
|
|
377
|
+
events?: Prisma.JobEventListRelationFilter;
|
|
378
|
+
reviewItems?: Prisma.JobReviewItemListRelationFilter;
|
|
258
379
|
}, "id">;
|
|
259
380
|
export type JobOrderByWithAggregationInput = {
|
|
260
381
|
id?: Prisma.SortOrder;
|
|
@@ -267,6 +388,17 @@ export type JobOrderByWithAggregationInput = {
|
|
|
267
388
|
lockedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
268
389
|
lastError?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
269
390
|
progress?: Prisma.SortOrder;
|
|
391
|
+
cancelRequestedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
392
|
+
cancelledById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
393
|
+
createdById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
394
|
+
title?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
395
|
+
scope?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
396
|
+
tokensIn?: Prisma.SortOrder;
|
|
397
|
+
tokensOut?: Prisma.SortOrder;
|
|
398
|
+
explain?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
399
|
+
summary?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
400
|
+
results?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
401
|
+
finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
270
402
|
createdAt?: Prisma.SortOrder;
|
|
271
403
|
updatedAt?: Prisma.SortOrder;
|
|
272
404
|
_count?: Prisma.JobCountOrderByAggregateInput;
|
|
@@ -289,6 +421,17 @@ export type JobScalarWhereWithAggregatesInput = {
|
|
|
289
421
|
lockedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Job"> | Date | string | null;
|
|
290
422
|
lastError?: Prisma.StringNullableWithAggregatesFilter<"Job"> | string | null;
|
|
291
423
|
progress?: Prisma.JsonWithAggregatesFilter<"Job">;
|
|
424
|
+
cancelRequestedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Job"> | Date | string | null;
|
|
425
|
+
cancelledById?: Prisma.StringNullableWithAggregatesFilter<"Job"> | string | null;
|
|
426
|
+
createdById?: Prisma.StringNullableWithAggregatesFilter<"Job"> | string | null;
|
|
427
|
+
title?: Prisma.StringNullableWithAggregatesFilter<"Job"> | string | null;
|
|
428
|
+
scope?: Prisma.StringNullableWithAggregatesFilter<"Job"> | string | null;
|
|
429
|
+
tokensIn?: Prisma.IntWithAggregatesFilter<"Job"> | number;
|
|
430
|
+
tokensOut?: Prisma.IntWithAggregatesFilter<"Job"> | number;
|
|
431
|
+
explain?: Prisma.StringNullableWithAggregatesFilter<"Job"> | string | null;
|
|
432
|
+
summary?: Prisma.StringNullableWithAggregatesFilter<"Job"> | string | null;
|
|
433
|
+
results?: Prisma.JsonNullableWithAggregatesFilter<"Job">;
|
|
434
|
+
finishedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Job"> | Date | string | null;
|
|
292
435
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Job"> | Date | string;
|
|
293
436
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Job"> | Date | string;
|
|
294
437
|
};
|
|
@@ -303,8 +446,21 @@ export type JobCreateInput = {
|
|
|
303
446
|
lockedAt?: Date | string | null;
|
|
304
447
|
lastError?: string | null;
|
|
305
448
|
progress: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
449
|
+
cancelRequestedAt?: Date | string | null;
|
|
450
|
+
cancelledById?: string | null;
|
|
451
|
+
createdById?: string | null;
|
|
452
|
+
title?: string | null;
|
|
453
|
+
scope?: string | null;
|
|
454
|
+
tokensIn?: number;
|
|
455
|
+
tokensOut?: number;
|
|
456
|
+
explain?: string | null;
|
|
457
|
+
summary?: string | null;
|
|
458
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
459
|
+
finishedAt?: Date | string | null;
|
|
306
460
|
createdAt?: Date | string;
|
|
307
461
|
updatedAt?: Date | string;
|
|
462
|
+
events?: Prisma.JobEventCreateNestedManyWithoutJobInput;
|
|
463
|
+
reviewItems?: Prisma.JobReviewItemCreateNestedManyWithoutJobInput;
|
|
308
464
|
};
|
|
309
465
|
export type JobUncheckedCreateInput = {
|
|
310
466
|
id: string;
|
|
@@ -317,8 +473,21 @@ export type JobUncheckedCreateInput = {
|
|
|
317
473
|
lockedAt?: Date | string | null;
|
|
318
474
|
lastError?: string | null;
|
|
319
475
|
progress: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
476
|
+
cancelRequestedAt?: Date | string | null;
|
|
477
|
+
cancelledById?: string | null;
|
|
478
|
+
createdById?: string | null;
|
|
479
|
+
title?: string | null;
|
|
480
|
+
scope?: string | null;
|
|
481
|
+
tokensIn?: number;
|
|
482
|
+
tokensOut?: number;
|
|
483
|
+
explain?: string | null;
|
|
484
|
+
summary?: string | null;
|
|
485
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
486
|
+
finishedAt?: Date | string | null;
|
|
320
487
|
createdAt?: Date | string;
|
|
321
488
|
updatedAt?: Date | string;
|
|
489
|
+
events?: Prisma.JobEventUncheckedCreateNestedManyWithoutJobInput;
|
|
490
|
+
reviewItems?: Prisma.JobReviewItemUncheckedCreateNestedManyWithoutJobInput;
|
|
322
491
|
};
|
|
323
492
|
export type JobUpdateInput = {
|
|
324
493
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -331,8 +500,21 @@ export type JobUpdateInput = {
|
|
|
331
500
|
lockedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
332
501
|
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
333
502
|
progress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
503
|
+
cancelRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
504
|
+
cancelledById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
505
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
506
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
507
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
508
|
+
tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
509
|
+
tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
510
|
+
explain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
511
|
+
summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
512
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
513
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
334
514
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
335
515
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
516
|
+
events?: Prisma.JobEventUpdateManyWithoutJobNestedInput;
|
|
517
|
+
reviewItems?: Prisma.JobReviewItemUpdateManyWithoutJobNestedInput;
|
|
336
518
|
};
|
|
337
519
|
export type JobUncheckedUpdateInput = {
|
|
338
520
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -345,8 +527,21 @@ export type JobUncheckedUpdateInput = {
|
|
|
345
527
|
lockedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
346
528
|
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
347
529
|
progress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
530
|
+
cancelRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
531
|
+
cancelledById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
532
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
533
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
534
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
535
|
+
tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
536
|
+
tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
537
|
+
explain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
538
|
+
summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
539
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
540
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
348
541
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
349
542
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
543
|
+
events?: Prisma.JobEventUncheckedUpdateManyWithoutJobNestedInput;
|
|
544
|
+
reviewItems?: Prisma.JobReviewItemUncheckedUpdateManyWithoutJobNestedInput;
|
|
350
545
|
};
|
|
351
546
|
export type JobCreateManyInput = {
|
|
352
547
|
id: string;
|
|
@@ -359,6 +554,17 @@ export type JobCreateManyInput = {
|
|
|
359
554
|
lockedAt?: Date | string | null;
|
|
360
555
|
lastError?: string | null;
|
|
361
556
|
progress: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
557
|
+
cancelRequestedAt?: Date | string | null;
|
|
558
|
+
cancelledById?: string | null;
|
|
559
|
+
createdById?: string | null;
|
|
560
|
+
title?: string | null;
|
|
561
|
+
scope?: string | null;
|
|
562
|
+
tokensIn?: number;
|
|
563
|
+
tokensOut?: number;
|
|
564
|
+
explain?: string | null;
|
|
565
|
+
summary?: string | null;
|
|
566
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
567
|
+
finishedAt?: Date | string | null;
|
|
362
568
|
createdAt?: Date | string;
|
|
363
569
|
updatedAt?: Date | string;
|
|
364
570
|
};
|
|
@@ -373,6 +579,17 @@ export type JobUpdateManyMutationInput = {
|
|
|
373
579
|
lockedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
374
580
|
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
375
581
|
progress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
582
|
+
cancelRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
583
|
+
cancelledById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
584
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
585
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
586
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
587
|
+
tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
588
|
+
tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
589
|
+
explain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
590
|
+
summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
591
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
592
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
376
593
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
377
594
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
378
595
|
};
|
|
@@ -387,6 +604,17 @@ export type JobUncheckedUpdateManyInput = {
|
|
|
387
604
|
lockedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
388
605
|
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
389
606
|
progress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
607
|
+
cancelRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
608
|
+
cancelledById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
609
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
610
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
611
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
612
|
+
tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
613
|
+
tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
614
|
+
explain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
615
|
+
summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
616
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
617
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
390
618
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
391
619
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
392
620
|
};
|
|
@@ -406,12 +634,25 @@ export type JobCountOrderByAggregateInput = {
|
|
|
406
634
|
lockedAt?: Prisma.SortOrder;
|
|
407
635
|
lastError?: Prisma.SortOrder;
|
|
408
636
|
progress?: Prisma.SortOrder;
|
|
637
|
+
cancelRequestedAt?: Prisma.SortOrder;
|
|
638
|
+
cancelledById?: Prisma.SortOrder;
|
|
639
|
+
createdById?: Prisma.SortOrder;
|
|
640
|
+
title?: Prisma.SortOrder;
|
|
641
|
+
scope?: Prisma.SortOrder;
|
|
642
|
+
tokensIn?: Prisma.SortOrder;
|
|
643
|
+
tokensOut?: Prisma.SortOrder;
|
|
644
|
+
explain?: Prisma.SortOrder;
|
|
645
|
+
summary?: Prisma.SortOrder;
|
|
646
|
+
results?: Prisma.SortOrder;
|
|
647
|
+
finishedAt?: Prisma.SortOrder;
|
|
409
648
|
createdAt?: Prisma.SortOrder;
|
|
410
649
|
updatedAt?: Prisma.SortOrder;
|
|
411
650
|
};
|
|
412
651
|
export type JobAvgOrderByAggregateInput = {
|
|
413
652
|
attempts?: Prisma.SortOrder;
|
|
414
653
|
maxAttempts?: Prisma.SortOrder;
|
|
654
|
+
tokensIn?: Prisma.SortOrder;
|
|
655
|
+
tokensOut?: Prisma.SortOrder;
|
|
415
656
|
};
|
|
416
657
|
export type JobMaxOrderByAggregateInput = {
|
|
417
658
|
id?: Prisma.SortOrder;
|
|
@@ -422,6 +663,16 @@ export type JobMaxOrderByAggregateInput = {
|
|
|
422
663
|
runAt?: Prisma.SortOrder;
|
|
423
664
|
lockedAt?: Prisma.SortOrder;
|
|
424
665
|
lastError?: Prisma.SortOrder;
|
|
666
|
+
cancelRequestedAt?: Prisma.SortOrder;
|
|
667
|
+
cancelledById?: Prisma.SortOrder;
|
|
668
|
+
createdById?: Prisma.SortOrder;
|
|
669
|
+
title?: Prisma.SortOrder;
|
|
670
|
+
scope?: Prisma.SortOrder;
|
|
671
|
+
tokensIn?: Prisma.SortOrder;
|
|
672
|
+
tokensOut?: Prisma.SortOrder;
|
|
673
|
+
explain?: Prisma.SortOrder;
|
|
674
|
+
summary?: Prisma.SortOrder;
|
|
675
|
+
finishedAt?: Prisma.SortOrder;
|
|
425
676
|
createdAt?: Prisma.SortOrder;
|
|
426
677
|
updatedAt?: Prisma.SortOrder;
|
|
427
678
|
};
|
|
@@ -434,12 +685,318 @@ export type JobMinOrderByAggregateInput = {
|
|
|
434
685
|
runAt?: Prisma.SortOrder;
|
|
435
686
|
lockedAt?: Prisma.SortOrder;
|
|
436
687
|
lastError?: Prisma.SortOrder;
|
|
688
|
+
cancelRequestedAt?: Prisma.SortOrder;
|
|
689
|
+
cancelledById?: Prisma.SortOrder;
|
|
690
|
+
createdById?: Prisma.SortOrder;
|
|
691
|
+
title?: Prisma.SortOrder;
|
|
692
|
+
scope?: Prisma.SortOrder;
|
|
693
|
+
tokensIn?: Prisma.SortOrder;
|
|
694
|
+
tokensOut?: Prisma.SortOrder;
|
|
695
|
+
explain?: Prisma.SortOrder;
|
|
696
|
+
summary?: Prisma.SortOrder;
|
|
697
|
+
finishedAt?: Prisma.SortOrder;
|
|
437
698
|
createdAt?: Prisma.SortOrder;
|
|
438
699
|
updatedAt?: Prisma.SortOrder;
|
|
439
700
|
};
|
|
440
701
|
export type JobSumOrderByAggregateInput = {
|
|
441
702
|
attempts?: Prisma.SortOrder;
|
|
442
703
|
maxAttempts?: Prisma.SortOrder;
|
|
704
|
+
tokensIn?: Prisma.SortOrder;
|
|
705
|
+
tokensOut?: Prisma.SortOrder;
|
|
706
|
+
};
|
|
707
|
+
export type JobScalarRelationFilter = {
|
|
708
|
+
is?: Prisma.JobWhereInput;
|
|
709
|
+
isNot?: Prisma.JobWhereInput;
|
|
710
|
+
};
|
|
711
|
+
export type JobCreateNestedOneWithoutEventsInput = {
|
|
712
|
+
create?: Prisma.XOR<Prisma.JobCreateWithoutEventsInput, Prisma.JobUncheckedCreateWithoutEventsInput>;
|
|
713
|
+
connectOrCreate?: Prisma.JobCreateOrConnectWithoutEventsInput;
|
|
714
|
+
connect?: Prisma.JobWhereUniqueInput;
|
|
715
|
+
};
|
|
716
|
+
export type JobUpdateOneRequiredWithoutEventsNestedInput = {
|
|
717
|
+
create?: Prisma.XOR<Prisma.JobCreateWithoutEventsInput, Prisma.JobUncheckedCreateWithoutEventsInput>;
|
|
718
|
+
connectOrCreate?: Prisma.JobCreateOrConnectWithoutEventsInput;
|
|
719
|
+
upsert?: Prisma.JobUpsertWithoutEventsInput;
|
|
720
|
+
connect?: Prisma.JobWhereUniqueInput;
|
|
721
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.JobUpdateToOneWithWhereWithoutEventsInput, Prisma.JobUpdateWithoutEventsInput>, Prisma.JobUncheckedUpdateWithoutEventsInput>;
|
|
722
|
+
};
|
|
723
|
+
export type JobCreateNestedOneWithoutReviewItemsInput = {
|
|
724
|
+
create?: Prisma.XOR<Prisma.JobCreateWithoutReviewItemsInput, Prisma.JobUncheckedCreateWithoutReviewItemsInput>;
|
|
725
|
+
connectOrCreate?: Prisma.JobCreateOrConnectWithoutReviewItemsInput;
|
|
726
|
+
connect?: Prisma.JobWhereUniqueInput;
|
|
727
|
+
};
|
|
728
|
+
export type JobUpdateOneRequiredWithoutReviewItemsNestedInput = {
|
|
729
|
+
create?: Prisma.XOR<Prisma.JobCreateWithoutReviewItemsInput, Prisma.JobUncheckedCreateWithoutReviewItemsInput>;
|
|
730
|
+
connectOrCreate?: Prisma.JobCreateOrConnectWithoutReviewItemsInput;
|
|
731
|
+
upsert?: Prisma.JobUpsertWithoutReviewItemsInput;
|
|
732
|
+
connect?: Prisma.JobWhereUniqueInput;
|
|
733
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.JobUpdateToOneWithWhereWithoutReviewItemsInput, Prisma.JobUpdateWithoutReviewItemsInput>, Prisma.JobUncheckedUpdateWithoutReviewItemsInput>;
|
|
734
|
+
};
|
|
735
|
+
export type JobCreateWithoutEventsInput = {
|
|
736
|
+
id: string;
|
|
737
|
+
type: string;
|
|
738
|
+
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
739
|
+
status: string;
|
|
740
|
+
attempts?: number;
|
|
741
|
+
maxAttempts?: number;
|
|
742
|
+
runAt: Date | string;
|
|
743
|
+
lockedAt?: Date | string | null;
|
|
744
|
+
lastError?: string | null;
|
|
745
|
+
progress: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
746
|
+
cancelRequestedAt?: Date | string | null;
|
|
747
|
+
cancelledById?: string | null;
|
|
748
|
+
createdById?: string | null;
|
|
749
|
+
title?: string | null;
|
|
750
|
+
scope?: string | null;
|
|
751
|
+
tokensIn?: number;
|
|
752
|
+
tokensOut?: number;
|
|
753
|
+
explain?: string | null;
|
|
754
|
+
summary?: string | null;
|
|
755
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
756
|
+
finishedAt?: Date | string | null;
|
|
757
|
+
createdAt?: Date | string;
|
|
758
|
+
updatedAt?: Date | string;
|
|
759
|
+
reviewItems?: Prisma.JobReviewItemCreateNestedManyWithoutJobInput;
|
|
760
|
+
};
|
|
761
|
+
export type JobUncheckedCreateWithoutEventsInput = {
|
|
762
|
+
id: string;
|
|
763
|
+
type: string;
|
|
764
|
+
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
765
|
+
status: string;
|
|
766
|
+
attempts?: number;
|
|
767
|
+
maxAttempts?: number;
|
|
768
|
+
runAt: Date | string;
|
|
769
|
+
lockedAt?: Date | string | null;
|
|
770
|
+
lastError?: string | null;
|
|
771
|
+
progress: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
772
|
+
cancelRequestedAt?: Date | string | null;
|
|
773
|
+
cancelledById?: string | null;
|
|
774
|
+
createdById?: string | null;
|
|
775
|
+
title?: string | null;
|
|
776
|
+
scope?: string | null;
|
|
777
|
+
tokensIn?: number;
|
|
778
|
+
tokensOut?: number;
|
|
779
|
+
explain?: string | null;
|
|
780
|
+
summary?: string | null;
|
|
781
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
782
|
+
finishedAt?: Date | string | null;
|
|
783
|
+
createdAt?: Date | string;
|
|
784
|
+
updatedAt?: Date | string;
|
|
785
|
+
reviewItems?: Prisma.JobReviewItemUncheckedCreateNestedManyWithoutJobInput;
|
|
786
|
+
};
|
|
787
|
+
export type JobCreateOrConnectWithoutEventsInput = {
|
|
788
|
+
where: Prisma.JobWhereUniqueInput;
|
|
789
|
+
create: Prisma.XOR<Prisma.JobCreateWithoutEventsInput, Prisma.JobUncheckedCreateWithoutEventsInput>;
|
|
790
|
+
};
|
|
791
|
+
export type JobUpsertWithoutEventsInput = {
|
|
792
|
+
update: Prisma.XOR<Prisma.JobUpdateWithoutEventsInput, Prisma.JobUncheckedUpdateWithoutEventsInput>;
|
|
793
|
+
create: Prisma.XOR<Prisma.JobCreateWithoutEventsInput, Prisma.JobUncheckedCreateWithoutEventsInput>;
|
|
794
|
+
where?: Prisma.JobWhereInput;
|
|
795
|
+
};
|
|
796
|
+
export type JobUpdateToOneWithWhereWithoutEventsInput = {
|
|
797
|
+
where?: Prisma.JobWhereInput;
|
|
798
|
+
data: Prisma.XOR<Prisma.JobUpdateWithoutEventsInput, Prisma.JobUncheckedUpdateWithoutEventsInput>;
|
|
799
|
+
};
|
|
800
|
+
export type JobUpdateWithoutEventsInput = {
|
|
801
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
802
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
803
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
804
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
805
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
806
|
+
maxAttempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
807
|
+
runAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
808
|
+
lockedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
809
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
810
|
+
progress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
811
|
+
cancelRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
812
|
+
cancelledById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
813
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
814
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
815
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
816
|
+
tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
817
|
+
tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
818
|
+
explain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
819
|
+
summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
820
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
821
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
822
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
823
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
824
|
+
reviewItems?: Prisma.JobReviewItemUpdateManyWithoutJobNestedInput;
|
|
825
|
+
};
|
|
826
|
+
export type JobUncheckedUpdateWithoutEventsInput = {
|
|
827
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
828
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
829
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
830
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
831
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
832
|
+
maxAttempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
833
|
+
runAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
834
|
+
lockedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
835
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
836
|
+
progress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
837
|
+
cancelRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
838
|
+
cancelledById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
839
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
840
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
841
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
842
|
+
tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
843
|
+
tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
844
|
+
explain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
845
|
+
summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
846
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
847
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
848
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
849
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
850
|
+
reviewItems?: Prisma.JobReviewItemUncheckedUpdateManyWithoutJobNestedInput;
|
|
851
|
+
};
|
|
852
|
+
export type JobCreateWithoutReviewItemsInput = {
|
|
853
|
+
id: string;
|
|
854
|
+
type: string;
|
|
855
|
+
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
856
|
+
status: string;
|
|
857
|
+
attempts?: number;
|
|
858
|
+
maxAttempts?: number;
|
|
859
|
+
runAt: Date | string;
|
|
860
|
+
lockedAt?: Date | string | null;
|
|
861
|
+
lastError?: string | null;
|
|
862
|
+
progress: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
863
|
+
cancelRequestedAt?: Date | string | null;
|
|
864
|
+
cancelledById?: string | null;
|
|
865
|
+
createdById?: string | null;
|
|
866
|
+
title?: string | null;
|
|
867
|
+
scope?: string | null;
|
|
868
|
+
tokensIn?: number;
|
|
869
|
+
tokensOut?: number;
|
|
870
|
+
explain?: string | null;
|
|
871
|
+
summary?: string | null;
|
|
872
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
873
|
+
finishedAt?: Date | string | null;
|
|
874
|
+
createdAt?: Date | string;
|
|
875
|
+
updatedAt?: Date | string;
|
|
876
|
+
events?: Prisma.JobEventCreateNestedManyWithoutJobInput;
|
|
877
|
+
};
|
|
878
|
+
export type JobUncheckedCreateWithoutReviewItemsInput = {
|
|
879
|
+
id: string;
|
|
880
|
+
type: string;
|
|
881
|
+
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
882
|
+
status: string;
|
|
883
|
+
attempts?: number;
|
|
884
|
+
maxAttempts?: number;
|
|
885
|
+
runAt: Date | string;
|
|
886
|
+
lockedAt?: Date | string | null;
|
|
887
|
+
lastError?: string | null;
|
|
888
|
+
progress: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
889
|
+
cancelRequestedAt?: Date | string | null;
|
|
890
|
+
cancelledById?: string | null;
|
|
891
|
+
createdById?: string | null;
|
|
892
|
+
title?: string | null;
|
|
893
|
+
scope?: string | null;
|
|
894
|
+
tokensIn?: number;
|
|
895
|
+
tokensOut?: number;
|
|
896
|
+
explain?: string | null;
|
|
897
|
+
summary?: string | null;
|
|
898
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
899
|
+
finishedAt?: Date | string | null;
|
|
900
|
+
createdAt?: Date | string;
|
|
901
|
+
updatedAt?: Date | string;
|
|
902
|
+
events?: Prisma.JobEventUncheckedCreateNestedManyWithoutJobInput;
|
|
903
|
+
};
|
|
904
|
+
export type JobCreateOrConnectWithoutReviewItemsInput = {
|
|
905
|
+
where: Prisma.JobWhereUniqueInput;
|
|
906
|
+
create: Prisma.XOR<Prisma.JobCreateWithoutReviewItemsInput, Prisma.JobUncheckedCreateWithoutReviewItemsInput>;
|
|
907
|
+
};
|
|
908
|
+
export type JobUpsertWithoutReviewItemsInput = {
|
|
909
|
+
update: Prisma.XOR<Prisma.JobUpdateWithoutReviewItemsInput, Prisma.JobUncheckedUpdateWithoutReviewItemsInput>;
|
|
910
|
+
create: Prisma.XOR<Prisma.JobCreateWithoutReviewItemsInput, Prisma.JobUncheckedCreateWithoutReviewItemsInput>;
|
|
911
|
+
where?: Prisma.JobWhereInput;
|
|
912
|
+
};
|
|
913
|
+
export type JobUpdateToOneWithWhereWithoutReviewItemsInput = {
|
|
914
|
+
where?: Prisma.JobWhereInput;
|
|
915
|
+
data: Prisma.XOR<Prisma.JobUpdateWithoutReviewItemsInput, Prisma.JobUncheckedUpdateWithoutReviewItemsInput>;
|
|
916
|
+
};
|
|
917
|
+
export type JobUpdateWithoutReviewItemsInput = {
|
|
918
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
919
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
920
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
921
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
922
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
923
|
+
maxAttempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
924
|
+
runAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
925
|
+
lockedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
926
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
927
|
+
progress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
928
|
+
cancelRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
929
|
+
cancelledById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
930
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
931
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
932
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
933
|
+
tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
934
|
+
tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
935
|
+
explain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
936
|
+
summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
937
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
938
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
939
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
940
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
941
|
+
events?: Prisma.JobEventUpdateManyWithoutJobNestedInput;
|
|
942
|
+
};
|
|
943
|
+
export type JobUncheckedUpdateWithoutReviewItemsInput = {
|
|
944
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
945
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
946
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
947
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
948
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
949
|
+
maxAttempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
950
|
+
runAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
951
|
+
lockedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
952
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
953
|
+
progress?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
954
|
+
cancelRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
955
|
+
cancelledById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
956
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
957
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
958
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
959
|
+
tokensIn?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
960
|
+
tokensOut?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
961
|
+
explain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
962
|
+
summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
963
|
+
results?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
964
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
965
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
966
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
967
|
+
events?: Prisma.JobEventUncheckedUpdateManyWithoutJobNestedInput;
|
|
968
|
+
};
|
|
969
|
+
/**
|
|
970
|
+
* Count Type JobCountOutputType
|
|
971
|
+
*/
|
|
972
|
+
export type JobCountOutputType = {
|
|
973
|
+
events: number;
|
|
974
|
+
reviewItems: number;
|
|
975
|
+
};
|
|
976
|
+
export type JobCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
977
|
+
events?: boolean | JobCountOutputTypeCountEventsArgs;
|
|
978
|
+
reviewItems?: boolean | JobCountOutputTypeCountReviewItemsArgs;
|
|
979
|
+
};
|
|
980
|
+
/**
|
|
981
|
+
* JobCountOutputType without action
|
|
982
|
+
*/
|
|
983
|
+
export type JobCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
984
|
+
/**
|
|
985
|
+
* Select specific fields to fetch from the JobCountOutputType
|
|
986
|
+
*/
|
|
987
|
+
select?: Prisma.JobCountOutputTypeSelect<ExtArgs> | null;
|
|
988
|
+
};
|
|
989
|
+
/**
|
|
990
|
+
* JobCountOutputType without action
|
|
991
|
+
*/
|
|
992
|
+
export type JobCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
993
|
+
where?: Prisma.JobEventWhereInput;
|
|
994
|
+
};
|
|
995
|
+
/**
|
|
996
|
+
* JobCountOutputType without action
|
|
997
|
+
*/
|
|
998
|
+
export type JobCountOutputTypeCountReviewItemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
999
|
+
where?: Prisma.JobReviewItemWhereInput;
|
|
443
1000
|
};
|
|
444
1001
|
export type JobSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
445
1002
|
id?: boolean;
|
|
@@ -452,8 +1009,22 @@ export type JobSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
|
|
|
452
1009
|
lockedAt?: boolean;
|
|
453
1010
|
lastError?: boolean;
|
|
454
1011
|
progress?: boolean;
|
|
1012
|
+
cancelRequestedAt?: boolean;
|
|
1013
|
+
cancelledById?: boolean;
|
|
1014
|
+
createdById?: boolean;
|
|
1015
|
+
title?: boolean;
|
|
1016
|
+
scope?: boolean;
|
|
1017
|
+
tokensIn?: boolean;
|
|
1018
|
+
tokensOut?: boolean;
|
|
1019
|
+
explain?: boolean;
|
|
1020
|
+
summary?: boolean;
|
|
1021
|
+
results?: boolean;
|
|
1022
|
+
finishedAt?: boolean;
|
|
455
1023
|
createdAt?: boolean;
|
|
456
1024
|
updatedAt?: boolean;
|
|
1025
|
+
events?: boolean | Prisma.Job$eventsArgs<ExtArgs>;
|
|
1026
|
+
reviewItems?: boolean | Prisma.Job$reviewItemsArgs<ExtArgs>;
|
|
1027
|
+
_count?: boolean | Prisma.JobCountOutputTypeDefaultArgs<ExtArgs>;
|
|
457
1028
|
}, ExtArgs["result"]["job"]>;
|
|
458
1029
|
export type JobSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
459
1030
|
id?: boolean;
|
|
@@ -466,6 +1037,17 @@ export type JobSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extension
|
|
|
466
1037
|
lockedAt?: boolean;
|
|
467
1038
|
lastError?: boolean;
|
|
468
1039
|
progress?: boolean;
|
|
1040
|
+
cancelRequestedAt?: boolean;
|
|
1041
|
+
cancelledById?: boolean;
|
|
1042
|
+
createdById?: boolean;
|
|
1043
|
+
title?: boolean;
|
|
1044
|
+
scope?: boolean;
|
|
1045
|
+
tokensIn?: boolean;
|
|
1046
|
+
tokensOut?: boolean;
|
|
1047
|
+
explain?: boolean;
|
|
1048
|
+
summary?: boolean;
|
|
1049
|
+
results?: boolean;
|
|
1050
|
+
finishedAt?: boolean;
|
|
469
1051
|
createdAt?: boolean;
|
|
470
1052
|
updatedAt?: boolean;
|
|
471
1053
|
}, ExtArgs["result"]["job"]>;
|
|
@@ -480,6 +1062,17 @@ export type JobSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extension
|
|
|
480
1062
|
lockedAt?: boolean;
|
|
481
1063
|
lastError?: boolean;
|
|
482
1064
|
progress?: boolean;
|
|
1065
|
+
cancelRequestedAt?: boolean;
|
|
1066
|
+
cancelledById?: boolean;
|
|
1067
|
+
createdById?: boolean;
|
|
1068
|
+
title?: boolean;
|
|
1069
|
+
scope?: boolean;
|
|
1070
|
+
tokensIn?: boolean;
|
|
1071
|
+
tokensOut?: boolean;
|
|
1072
|
+
explain?: boolean;
|
|
1073
|
+
summary?: boolean;
|
|
1074
|
+
results?: boolean;
|
|
1075
|
+
finishedAt?: boolean;
|
|
483
1076
|
createdAt?: boolean;
|
|
484
1077
|
updatedAt?: boolean;
|
|
485
1078
|
}, ExtArgs["result"]["job"]>;
|
|
@@ -494,13 +1087,34 @@ export type JobSelectScalar = {
|
|
|
494
1087
|
lockedAt?: boolean;
|
|
495
1088
|
lastError?: boolean;
|
|
496
1089
|
progress?: boolean;
|
|
1090
|
+
cancelRequestedAt?: boolean;
|
|
1091
|
+
cancelledById?: boolean;
|
|
1092
|
+
createdById?: boolean;
|
|
1093
|
+
title?: boolean;
|
|
1094
|
+
scope?: boolean;
|
|
1095
|
+
tokensIn?: boolean;
|
|
1096
|
+
tokensOut?: boolean;
|
|
1097
|
+
explain?: boolean;
|
|
1098
|
+
summary?: boolean;
|
|
1099
|
+
results?: boolean;
|
|
1100
|
+
finishedAt?: boolean;
|
|
497
1101
|
createdAt?: boolean;
|
|
498
1102
|
updatedAt?: boolean;
|
|
499
1103
|
};
|
|
500
|
-
export type JobOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "type" | "payload" | "status" | "attempts" | "maxAttempts" | "runAt" | "lockedAt" | "lastError" | "progress" | "createdAt" | "updatedAt", ExtArgs["result"]["job"]>;
|
|
1104
|
+
export type JobOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "type" | "payload" | "status" | "attempts" | "maxAttempts" | "runAt" | "lockedAt" | "lastError" | "progress" | "cancelRequestedAt" | "cancelledById" | "createdById" | "title" | "scope" | "tokensIn" | "tokensOut" | "explain" | "summary" | "results" | "finishedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["job"]>;
|
|
1105
|
+
export type JobInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1106
|
+
events?: boolean | Prisma.Job$eventsArgs<ExtArgs>;
|
|
1107
|
+
reviewItems?: boolean | Prisma.Job$reviewItemsArgs<ExtArgs>;
|
|
1108
|
+
_count?: boolean | Prisma.JobCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1109
|
+
};
|
|
1110
|
+
export type JobIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
1111
|
+
export type JobIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
501
1112
|
export type $JobPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
502
1113
|
name: "Job";
|
|
503
|
-
objects: {
|
|
1114
|
+
objects: {
|
|
1115
|
+
events: Prisma.$JobEventPayload<ExtArgs>[];
|
|
1116
|
+
reviewItems: Prisma.$JobReviewItemPayload<ExtArgs>[];
|
|
1117
|
+
};
|
|
504
1118
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
505
1119
|
id: string;
|
|
506
1120
|
type: string;
|
|
@@ -512,6 +1126,20 @@ export type $JobPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
512
1126
|
lockedAt: Date | null;
|
|
513
1127
|
lastError: string | null;
|
|
514
1128
|
progress: runtime.JsonValue;
|
|
1129
|
+
cancelRequestedAt: Date | null;
|
|
1130
|
+
cancelledById: string | null;
|
|
1131
|
+
/**
|
|
1132
|
+
* Who queued it. Null for cron jobs and rows queued before 0026.
|
|
1133
|
+
*/
|
|
1134
|
+
createdById: string | null;
|
|
1135
|
+
title: string | null;
|
|
1136
|
+
scope: string | null;
|
|
1137
|
+
tokensIn: number;
|
|
1138
|
+
tokensOut: number;
|
|
1139
|
+
explain: string | null;
|
|
1140
|
+
summary: string | null;
|
|
1141
|
+
results: runtime.JsonValue | null;
|
|
1142
|
+
finishedAt: Date | null;
|
|
515
1143
|
createdAt: Date;
|
|
516
1144
|
updatedAt: Date;
|
|
517
1145
|
}, ExtArgs["result"]["job"]>;
|
|
@@ -843,6 +1471,8 @@ export interface JobDelegate<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
843
1471
|
*/
|
|
844
1472
|
export interface Prisma__JobClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
845
1473
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1474
|
+
events<T extends Prisma.Job$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Job$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$JobEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1475
|
+
reviewItems<T extends Prisma.Job$reviewItemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Job$reviewItemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$JobReviewItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
846
1476
|
/**
|
|
847
1477
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
848
1478
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -878,6 +1508,17 @@ export interface JobFieldRefs {
|
|
|
878
1508
|
readonly lockedAt: Prisma.FieldRef<"Job", 'DateTime'>;
|
|
879
1509
|
readonly lastError: Prisma.FieldRef<"Job", 'String'>;
|
|
880
1510
|
readonly progress: Prisma.FieldRef<"Job", 'Json'>;
|
|
1511
|
+
readonly cancelRequestedAt: Prisma.FieldRef<"Job", 'DateTime'>;
|
|
1512
|
+
readonly cancelledById: Prisma.FieldRef<"Job", 'String'>;
|
|
1513
|
+
readonly createdById: Prisma.FieldRef<"Job", 'String'>;
|
|
1514
|
+
readonly title: Prisma.FieldRef<"Job", 'String'>;
|
|
1515
|
+
readonly scope: Prisma.FieldRef<"Job", 'String'>;
|
|
1516
|
+
readonly tokensIn: Prisma.FieldRef<"Job", 'Int'>;
|
|
1517
|
+
readonly tokensOut: Prisma.FieldRef<"Job", 'Int'>;
|
|
1518
|
+
readonly explain: Prisma.FieldRef<"Job", 'String'>;
|
|
1519
|
+
readonly summary: Prisma.FieldRef<"Job", 'String'>;
|
|
1520
|
+
readonly results: Prisma.FieldRef<"Job", 'Json'>;
|
|
1521
|
+
readonly finishedAt: Prisma.FieldRef<"Job", 'DateTime'>;
|
|
881
1522
|
readonly createdAt: Prisma.FieldRef<"Job", 'DateTime'>;
|
|
882
1523
|
readonly updatedAt: Prisma.FieldRef<"Job", 'DateTime'>;
|
|
883
1524
|
}
|
|
@@ -893,6 +1534,10 @@ export type JobFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
893
1534
|
* Omit specific fields from the Job
|
|
894
1535
|
*/
|
|
895
1536
|
omit?: Prisma.JobOmit<ExtArgs> | null;
|
|
1537
|
+
/**
|
|
1538
|
+
* Choose, which related nodes to fetch as well
|
|
1539
|
+
*/
|
|
1540
|
+
include?: Prisma.JobInclude<ExtArgs> | null;
|
|
896
1541
|
/**
|
|
897
1542
|
* Filter, which Job to fetch.
|
|
898
1543
|
*/
|
|
@@ -911,6 +1556,10 @@ export type JobFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.In
|
|
|
911
1556
|
* Omit specific fields from the Job
|
|
912
1557
|
*/
|
|
913
1558
|
omit?: Prisma.JobOmit<ExtArgs> | null;
|
|
1559
|
+
/**
|
|
1560
|
+
* Choose, which related nodes to fetch as well
|
|
1561
|
+
*/
|
|
1562
|
+
include?: Prisma.JobInclude<ExtArgs> | null;
|
|
914
1563
|
/**
|
|
915
1564
|
* Filter, which Job to fetch.
|
|
916
1565
|
*/
|
|
@@ -929,6 +1578,10 @@ export type JobFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
929
1578
|
* Omit specific fields from the Job
|
|
930
1579
|
*/
|
|
931
1580
|
omit?: Prisma.JobOmit<ExtArgs> | null;
|
|
1581
|
+
/**
|
|
1582
|
+
* Choose, which related nodes to fetch as well
|
|
1583
|
+
*/
|
|
1584
|
+
include?: Prisma.JobInclude<ExtArgs> | null;
|
|
932
1585
|
/**
|
|
933
1586
|
* Filter, which Job to fetch.
|
|
934
1587
|
*/
|
|
@@ -977,6 +1630,10 @@ export type JobFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
977
1630
|
* Omit specific fields from the Job
|
|
978
1631
|
*/
|
|
979
1632
|
omit?: Prisma.JobOmit<ExtArgs> | null;
|
|
1633
|
+
/**
|
|
1634
|
+
* Choose, which related nodes to fetch as well
|
|
1635
|
+
*/
|
|
1636
|
+
include?: Prisma.JobInclude<ExtArgs> | null;
|
|
980
1637
|
/**
|
|
981
1638
|
* Filter, which Job to fetch.
|
|
982
1639
|
*/
|
|
@@ -1025,6 +1682,10 @@ export type JobFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
1025
1682
|
* Omit specific fields from the Job
|
|
1026
1683
|
*/
|
|
1027
1684
|
omit?: Prisma.JobOmit<ExtArgs> | null;
|
|
1685
|
+
/**
|
|
1686
|
+
* Choose, which related nodes to fetch as well
|
|
1687
|
+
*/
|
|
1688
|
+
include?: Prisma.JobInclude<ExtArgs> | null;
|
|
1028
1689
|
/**
|
|
1029
1690
|
* Filter, which Jobs to fetch.
|
|
1030
1691
|
*/
|
|
@@ -1073,6 +1734,10 @@ export type JobCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
1073
1734
|
* Omit specific fields from the Job
|
|
1074
1735
|
*/
|
|
1075
1736
|
omit?: Prisma.JobOmit<ExtArgs> | null;
|
|
1737
|
+
/**
|
|
1738
|
+
* Choose, which related nodes to fetch as well
|
|
1739
|
+
*/
|
|
1740
|
+
include?: Prisma.JobInclude<ExtArgs> | null;
|
|
1076
1741
|
/**
|
|
1077
1742
|
* The data needed to create a Job.
|
|
1078
1743
|
*/
|
|
@@ -1119,6 +1784,10 @@ export type JobUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
1119
1784
|
* Omit specific fields from the Job
|
|
1120
1785
|
*/
|
|
1121
1786
|
omit?: Prisma.JobOmit<ExtArgs> | null;
|
|
1787
|
+
/**
|
|
1788
|
+
* Choose, which related nodes to fetch as well
|
|
1789
|
+
*/
|
|
1790
|
+
include?: Prisma.JobInclude<ExtArgs> | null;
|
|
1122
1791
|
/**
|
|
1123
1792
|
* The data needed to update a Job.
|
|
1124
1793
|
*/
|
|
@@ -1183,6 +1852,10 @@ export type JobUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
1183
1852
|
* Omit specific fields from the Job
|
|
1184
1853
|
*/
|
|
1185
1854
|
omit?: Prisma.JobOmit<ExtArgs> | null;
|
|
1855
|
+
/**
|
|
1856
|
+
* Choose, which related nodes to fetch as well
|
|
1857
|
+
*/
|
|
1858
|
+
include?: Prisma.JobInclude<ExtArgs> | null;
|
|
1186
1859
|
/**
|
|
1187
1860
|
* The filter to search for the Job to update in case it exists.
|
|
1188
1861
|
*/
|
|
@@ -1209,6 +1882,10 @@ export type JobDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
1209
1882
|
* Omit specific fields from the Job
|
|
1210
1883
|
*/
|
|
1211
1884
|
omit?: Prisma.JobOmit<ExtArgs> | null;
|
|
1885
|
+
/**
|
|
1886
|
+
* Choose, which related nodes to fetch as well
|
|
1887
|
+
*/
|
|
1888
|
+
include?: Prisma.JobInclude<ExtArgs> | null;
|
|
1212
1889
|
/**
|
|
1213
1890
|
* Filter which Job to delete.
|
|
1214
1891
|
*/
|
|
@@ -1228,6 +1905,52 @@ export type JobDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
1228
1905
|
*/
|
|
1229
1906
|
limit?: number;
|
|
1230
1907
|
};
|
|
1908
|
+
/**
|
|
1909
|
+
* Job.events
|
|
1910
|
+
*/
|
|
1911
|
+
export type Job$eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1912
|
+
/**
|
|
1913
|
+
* Select specific fields to fetch from the JobEvent
|
|
1914
|
+
*/
|
|
1915
|
+
select?: Prisma.JobEventSelect<ExtArgs> | null;
|
|
1916
|
+
/**
|
|
1917
|
+
* Omit specific fields from the JobEvent
|
|
1918
|
+
*/
|
|
1919
|
+
omit?: Prisma.JobEventOmit<ExtArgs> | null;
|
|
1920
|
+
/**
|
|
1921
|
+
* Choose, which related nodes to fetch as well
|
|
1922
|
+
*/
|
|
1923
|
+
include?: Prisma.JobEventInclude<ExtArgs> | null;
|
|
1924
|
+
where?: Prisma.JobEventWhereInput;
|
|
1925
|
+
orderBy?: Prisma.JobEventOrderByWithRelationInput | Prisma.JobEventOrderByWithRelationInput[];
|
|
1926
|
+
cursor?: Prisma.JobEventWhereUniqueInput;
|
|
1927
|
+
take?: number;
|
|
1928
|
+
skip?: number;
|
|
1929
|
+
distinct?: Prisma.JobEventScalarFieldEnum | Prisma.JobEventScalarFieldEnum[];
|
|
1930
|
+
};
|
|
1931
|
+
/**
|
|
1932
|
+
* Job.reviewItems
|
|
1933
|
+
*/
|
|
1934
|
+
export type Job$reviewItemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1935
|
+
/**
|
|
1936
|
+
* Select specific fields to fetch from the JobReviewItem
|
|
1937
|
+
*/
|
|
1938
|
+
select?: Prisma.JobReviewItemSelect<ExtArgs> | null;
|
|
1939
|
+
/**
|
|
1940
|
+
* Omit specific fields from the JobReviewItem
|
|
1941
|
+
*/
|
|
1942
|
+
omit?: Prisma.JobReviewItemOmit<ExtArgs> | null;
|
|
1943
|
+
/**
|
|
1944
|
+
* Choose, which related nodes to fetch as well
|
|
1945
|
+
*/
|
|
1946
|
+
include?: Prisma.JobReviewItemInclude<ExtArgs> | null;
|
|
1947
|
+
where?: Prisma.JobReviewItemWhereInput;
|
|
1948
|
+
orderBy?: Prisma.JobReviewItemOrderByWithRelationInput | Prisma.JobReviewItemOrderByWithRelationInput[];
|
|
1949
|
+
cursor?: Prisma.JobReviewItemWhereUniqueInput;
|
|
1950
|
+
take?: number;
|
|
1951
|
+
skip?: number;
|
|
1952
|
+
distinct?: Prisma.JobReviewItemScalarFieldEnum | Prisma.JobReviewItemScalarFieldEnum[];
|
|
1953
|
+
};
|
|
1231
1954
|
/**
|
|
1232
1955
|
* Job without action
|
|
1233
1956
|
*/
|
|
@@ -1240,4 +1963,8 @@ export type JobDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
1240
1963
|
* Omit specific fields from the Job
|
|
1241
1964
|
*/
|
|
1242
1965
|
omit?: Prisma.JobOmit<ExtArgs> | null;
|
|
1966
|
+
/**
|
|
1967
|
+
* Choose, which related nodes to fetch as well
|
|
1968
|
+
*/
|
|
1969
|
+
include?: Prisma.JobInclude<ExtArgs> | null;
|
|
1243
1970
|
};
|