lapeh 2.3.6 → 2.3.8
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/bin/index.js +39 -56
- package/dist/generated/prisma/browser.d.ts +80 -0
- package/dist/generated/prisma/browser.d.ts.map +1 -0
- package/dist/generated/prisma/browser.js +56 -0
- package/dist/generated/prisma/client.d.ts +97 -0
- package/dist/generated/prisma/client.d.ts.map +1 -0
- package/dist/generated/prisma/client.js +68 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +486 -0
- package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -0
- package/dist/generated/prisma/commonInputTypes.js +11 -0
- package/dist/generated/prisma/enums.d.ts +2 -0
- package/dist/generated/prisma/enums.d.ts.map +1 -0
- package/dist/generated/prisma/enums.js +11 -0
- package/dist/generated/prisma/internal/class.d.ts +281 -0
- package/dist/generated/prisma/internal/class.d.ts.map +1 -0
- package/dist/generated/prisma/internal/class.js +76 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +1734 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +260 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +200 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +231 -0
- package/dist/generated/prisma/models/cache.d.ts +986 -0
- package/dist/generated/prisma/models/cache.d.ts.map +1 -0
- package/dist/generated/prisma/models/cache.js +2 -0
- package/dist/generated/prisma/models/cache_locks.d.ts +976 -0
- package/dist/generated/prisma/models/cache_locks.d.ts.map +1 -0
- package/dist/generated/prisma/models/cache_locks.js +2 -0
- package/dist/generated/prisma/models/failed_jobs.d.ts +1098 -0
- package/dist/generated/prisma/models/failed_jobs.d.ts.map +1 -0
- package/dist/generated/prisma/models/failed_jobs.js +2 -0
- package/dist/generated/prisma/models/job_batches.d.ts +1212 -0
- package/dist/generated/prisma/models/job_batches.d.ts.map +1 -0
- package/dist/generated/prisma/models/job_batches.js +2 -0
- package/dist/generated/prisma/models/jobs.d.ts +1112 -0
- package/dist/generated/prisma/models/jobs.d.ts.map +1 -0
- package/dist/generated/prisma/models/jobs.js +2 -0
- package/dist/generated/prisma/models/migrations.d.ts +979 -0
- package/dist/generated/prisma/models/migrations.d.ts.map +1 -0
- package/dist/generated/prisma/models/migrations.js +2 -0
- package/dist/generated/prisma/models/password_reset_tokens.d.ts +941 -0
- package/dist/generated/prisma/models/password_reset_tokens.d.ts.map +1 -0
- package/dist/generated/prisma/models/password_reset_tokens.js +2 -0
- package/dist/generated/prisma/models/permissions.d.ts +1333 -0
- package/dist/generated/prisma/models/permissions.d.ts.map +1 -0
- package/dist/generated/prisma/models/permissions.js +2 -0
- package/dist/generated/prisma/models/personal_access_tokens.d.ts +1178 -0
- package/dist/generated/prisma/models/personal_access_tokens.d.ts.map +1 -0
- package/dist/generated/prisma/models/personal_access_tokens.js +2 -0
- package/dist/generated/prisma/models/role_permissions.d.ts +1291 -0
- package/dist/generated/prisma/models/role_permissions.d.ts.map +1 -0
- package/dist/generated/prisma/models/role_permissions.js +2 -0
- package/dist/generated/prisma/models/roles.d.ts +1333 -0
- package/dist/generated/prisma/models/roles.d.ts.map +1 -0
- package/dist/generated/prisma/models/roles.js +2 -0
- package/dist/generated/prisma/models/sessions.d.ts +1073 -0
- package/dist/generated/prisma/models/sessions.d.ts.map +1 -0
- package/dist/generated/prisma/models/sessions.js +2 -0
- package/dist/generated/prisma/models/user_permissions.d.ts +1291 -0
- package/dist/generated/prisma/models/user_permissions.d.ts.map +1 -0
- package/dist/generated/prisma/models/user_permissions.js +2 -0
- package/dist/generated/prisma/models/user_roles.d.ts +1291 -0
- package/dist/generated/prisma/models/user_roles.d.ts.map +1 -0
- package/dist/generated/prisma/models/user_roles.js +2 -0
- package/dist/generated/prisma/models/users.d.ts +1513 -0
- package/dist/generated/prisma/models/users.d.ts.map +1 -0
- package/dist/generated/prisma/models/users.js +2 -0
- package/dist/generated/prisma/models.d.ts +17 -0
- package/dist/generated/prisma/models.d.ts.map +1 -0
- package/dist/generated/prisma/models.js +2 -0
- package/dist/lib/bootstrap.d.ts +2 -0
- package/dist/lib/bootstrap.d.ts.map +1 -0
- package/dist/lib/bootstrap.js +133 -0
- package/dist/lib/core/database.d.ts +3 -0
- package/dist/lib/core/database.d.ts.map +1 -0
- package/dist/lib/core/database.js +34 -0
- package/dist/lib/core/realtime.d.ts +3 -0
- package/dist/lib/core/realtime.d.ts.map +1 -0
- package/dist/lib/core/realtime.js +36 -0
- package/dist/lib/core/redis.d.ts +8 -0
- package/dist/lib/core/redis.d.ts.map +1 -0
- package/dist/lib/core/redis.js +123 -0
- package/dist/lib/core/serializer.d.ts +43 -0
- package/dist/lib/core/serializer.d.ts.map +1 -0
- package/dist/lib/core/serializer.js +66 -0
- package/dist/lib/core/server.d.ts +2 -0
- package/dist/lib/core/server.d.ts.map +1 -0
- package/dist/lib/core/server.js +60 -0
- package/dist/lib/middleware/auth.d.ts +4 -0
- package/dist/lib/middleware/auth.d.ts.map +1 -0
- package/dist/lib/middleware/auth.js +55 -0
- package/dist/lib/middleware/error.d.ts +3 -0
- package/dist/lib/middleware/error.d.ts.map +1 -0
- package/dist/lib/middleware/error.js +60 -0
- package/dist/lib/middleware/multipart.d.ts +4 -0
- package/dist/lib/middleware/multipart.d.ts.map +1 -0
- package/dist/lib/middleware/multipart.js +17 -0
- package/dist/lib/middleware/rateLimit.d.ts +2 -0
- package/dist/lib/middleware/rateLimit.d.ts.map +1 -0
- package/dist/lib/middleware/rateLimit.js +19 -0
- package/dist/lib/middleware/requestLogger.d.ts +3 -0
- package/dist/lib/middleware/requestLogger.d.ts.map +1 -0
- package/dist/lib/middleware/requestLogger.js +22 -0
- package/dist/lib/middleware/visitor.d.ts +3 -0
- package/dist/lib/middleware/visitor.d.ts.map +1 -0
- package/dist/lib/middleware/visitor.js +144 -0
- package/dist/lib/utils/logger.d.ts +11 -0
- package/dist/lib/utils/logger.d.ts.map +1 -0
- package/dist/lib/utils/logger.js +81 -0
- package/dist/lib/utils/pagination.d.ts +19 -0
- package/dist/lib/utils/pagination.d.ts.map +1 -0
- package/dist/lib/utils/pagination.js +34 -0
- package/dist/lib/utils/response.d.ts +11 -0
- package/dist/lib/utils/response.d.ts.map +1 -0
- package/dist/lib/utils/response.js +57 -0
- package/dist/lib/utils/validator.d.ts +38 -0
- package/dist/lib/utils/validator.d.ts.map +1 -0
- package/dist/lib/utils/validator.js +369 -0
- package/dist/prisma/seed.d.ts +2 -0
- package/dist/prisma/seed.d.ts.map +1 -0
- package/dist/prisma/seed.js +381 -0
- package/dist/src/controllers/authController.d.ts +11 -0
- package/dist/src/controllers/authController.d.ts.map +1 -0
- package/dist/src/controllers/authController.js +414 -0
- package/dist/src/controllers/petController.d.ts +7 -0
- package/dist/src/controllers/petController.d.ts.map +1 -0
- package/dist/src/controllers/petController.js +163 -0
- package/dist/src/controllers/rbacController.d.ts +16 -0
- package/dist/src/controllers/rbacController.d.ts.map +1 -0
- package/dist/src/controllers/rbacController.js +437 -0
- package/dist/src/core/database.d.ts +3 -0
- package/dist/src/core/database.d.ts.map +1 -0
- package/dist/src/core/database.js +34 -0
- package/dist/src/core/realtime.d.ts +3 -0
- package/dist/src/core/realtime.d.ts.map +1 -0
- package/dist/src/core/realtime.js +36 -0
- package/dist/src/core/redis.d.ts +8 -0
- package/dist/src/core/redis.d.ts.map +1 -0
- package/dist/src/core/redis.js +123 -0
- package/dist/src/core/serializer.d.ts +43 -0
- package/dist/src/core/serializer.d.ts.map +1 -0
- package/dist/src/core/serializer.js +66 -0
- package/dist/src/core/server.d.ts +2 -0
- package/dist/src/core/server.d.ts.map +1 -0
- package/dist/src/core/server.js +60 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +98 -0
- package/dist/src/middleware/auth.d.ts +4 -0
- package/dist/src/middleware/auth.d.ts.map +1 -0
- package/dist/src/middleware/auth.js +48 -0
- package/dist/src/middleware/error.d.ts +3 -0
- package/dist/src/middleware/error.d.ts.map +1 -0
- package/dist/src/middleware/error.js +60 -0
- package/dist/src/middleware/multipart.d.ts +4 -0
- package/dist/src/middleware/multipart.d.ts.map +1 -0
- package/dist/src/middleware/multipart.js +17 -0
- package/dist/src/middleware/rateLimit.d.ts +2 -0
- package/dist/src/middleware/rateLimit.d.ts.map +1 -0
- package/dist/src/middleware/rateLimit.js +19 -0
- package/dist/src/middleware/requestLogger.d.ts +3 -0
- package/dist/src/middleware/requestLogger.d.ts.map +1 -0
- package/dist/src/middleware/requestLogger.js +22 -0
- package/dist/src/middleware/visitor.d.ts +3 -0
- package/dist/src/middleware/visitor.d.ts.map +1 -0
- package/dist/src/middleware/visitor.js +144 -0
- package/dist/src/prisma.d.ts +3 -0
- package/dist/src/prisma.d.ts.map +1 -0
- package/dist/src/prisma.js +34 -0
- package/dist/src/realtime.d.ts +3 -0
- package/dist/src/realtime.d.ts.map +1 -0
- package/dist/src/realtime.js +36 -0
- package/dist/src/redis.d.ts +8 -0
- package/dist/src/redis.d.ts.map +1 -0
- package/dist/src/redis.js +122 -0
- package/dist/src/routes/auth.d.ts +2 -0
- package/dist/src/routes/auth.d.ts.map +1 -0
- package/dist/src/routes/auth.js +45 -0
- package/dist/src/routes/index.d.ts +2 -0
- package/dist/src/routes/index.d.ts.map +1 -0
- package/dist/src/routes/index.js +14 -0
- package/dist/src/routes/pets.d.ts +3 -0
- package/dist/src/routes/pets.d.ts.map +1 -0
- package/dist/src/routes/pets.js +45 -0
- package/dist/src/routes/rbac.d.ts +2 -0
- package/dist/src/routes/rbac.d.ts.map +1 -0
- package/dist/src/routes/rbac.js +23 -0
- package/dist/src/schema/auth-schema.d.ts +76 -0
- package/dist/src/schema/auth-schema.d.ts.map +1 -0
- package/dist/src/schema/auth-schema.js +63 -0
- package/dist/src/schema/pet-schema.d.ts +28 -0
- package/dist/src/schema/pet-schema.d.ts.map +1 -0
- package/dist/src/schema/pet-schema.js +14 -0
- package/dist/src/server.d.ts +2 -0
- package/dist/src/server.d.ts.map +1 -0
- package/dist/src/server.js +31 -0
- package/dist/src/utils/logger.d.ts +11 -0
- package/dist/src/utils/logger.d.ts.map +1 -0
- package/dist/src/utils/logger.js +81 -0
- package/dist/src/utils/pagination.d.ts +19 -0
- package/dist/src/utils/pagination.d.ts.map +1 -0
- package/dist/src/utils/pagination.js +34 -0
- package/dist/src/utils/response.d.ts +11 -0
- package/dist/src/utils/response.d.ts.map +1 -0
- package/dist/src/utils/response.js +57 -0
- package/dist/src/utils/validator.d.ts +38 -0
- package/dist/src/utils/validator.d.ts.map +1 -0
- package/dist/src/utils/validator.js +369 -0
- package/lib/bootstrap.ts +6 -0
- package/package.json +26 -14
- package/.env.example +0 -19
- package/doc/ARCHITECTURE_GUIDE.md +0 -73
- package/doc/CHANGELOG.md +0 -77
- package/doc/CHEATSHEET.md +0 -94
- package/doc/CLI.md +0 -139
- package/doc/CONTRIBUTING.md +0 -105
- package/doc/DEPLOYMENT.md +0 -122
- package/doc/FAQ.md +0 -81
- package/doc/FEATURES.md +0 -165
- package/doc/GETTING_STARTED.md +0 -108
- package/doc/INTRODUCTION.md +0 -60
- package/doc/PACKAGES.md +0 -66
- package/doc/PERFORMANCE.md +0 -91
- package/doc/ROADMAP.md +0 -93
- package/doc/SECURITY.md +0 -93
- package/doc/STRUCTURE.md +0 -90
- package/doc/TUTORIAL.md +0 -192
- package/docker-compose.yml +0 -24
- package/eslint.config.mjs +0 -26
- package/framework.md +0 -168
- package/nodemon.json +0 -6
- package/prisma.config.ts +0 -15
- package/src/controllers/authController.ts +0 -469
- package/src/controllers/petController.ts +0 -194
- package/src/controllers/rbacController.ts +0 -478
- package/src/models/core.prisma +0 -163
- package/src/models/pets.prisma +0 -9
- package/src/routes/auth.ts +0 -74
- package/src/routes/index.ts +0 -10
- package/src/routes/pets.ts +0 -13
- package/src/routes/rbac.ts +0 -42
- package/storage/logs/.gitkeep +0 -0
- package/tsconfig.json +0 -30
|
@@ -0,0 +1,1098 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
+
/**
|
|
4
|
+
* Model failed_jobs
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type failed_jobsModel = runtime.Types.Result.DefaultSelection<Prisma.$failed_jobsPayload>;
|
|
8
|
+
export type AggregateFailed_jobs = {
|
|
9
|
+
_count: Failed_jobsCountAggregateOutputType | null;
|
|
10
|
+
_avg: Failed_jobsAvgAggregateOutputType | null;
|
|
11
|
+
_sum: Failed_jobsSumAggregateOutputType | null;
|
|
12
|
+
_min: Failed_jobsMinAggregateOutputType | null;
|
|
13
|
+
_max: Failed_jobsMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type Failed_jobsAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type Failed_jobsSumAggregateOutputType = {
|
|
19
|
+
id: bigint | null;
|
|
20
|
+
};
|
|
21
|
+
export type Failed_jobsMinAggregateOutputType = {
|
|
22
|
+
id: bigint | null;
|
|
23
|
+
uuid: string | null;
|
|
24
|
+
connection: string | null;
|
|
25
|
+
queue: string | null;
|
|
26
|
+
payload: string | null;
|
|
27
|
+
exception: string | null;
|
|
28
|
+
failed_at: Date | null;
|
|
29
|
+
};
|
|
30
|
+
export type Failed_jobsMaxAggregateOutputType = {
|
|
31
|
+
id: bigint | null;
|
|
32
|
+
uuid: string | null;
|
|
33
|
+
connection: string | null;
|
|
34
|
+
queue: string | null;
|
|
35
|
+
payload: string | null;
|
|
36
|
+
exception: string | null;
|
|
37
|
+
failed_at: Date | null;
|
|
38
|
+
};
|
|
39
|
+
export type Failed_jobsCountAggregateOutputType = {
|
|
40
|
+
id: number;
|
|
41
|
+
uuid: number;
|
|
42
|
+
connection: number;
|
|
43
|
+
queue: number;
|
|
44
|
+
payload: number;
|
|
45
|
+
exception: number;
|
|
46
|
+
failed_at: number;
|
|
47
|
+
_all: number;
|
|
48
|
+
};
|
|
49
|
+
export type Failed_jobsAvgAggregateInputType = {
|
|
50
|
+
id?: true;
|
|
51
|
+
};
|
|
52
|
+
export type Failed_jobsSumAggregateInputType = {
|
|
53
|
+
id?: true;
|
|
54
|
+
};
|
|
55
|
+
export type Failed_jobsMinAggregateInputType = {
|
|
56
|
+
id?: true;
|
|
57
|
+
uuid?: true;
|
|
58
|
+
connection?: true;
|
|
59
|
+
queue?: true;
|
|
60
|
+
payload?: true;
|
|
61
|
+
exception?: true;
|
|
62
|
+
failed_at?: true;
|
|
63
|
+
};
|
|
64
|
+
export type Failed_jobsMaxAggregateInputType = {
|
|
65
|
+
id?: true;
|
|
66
|
+
uuid?: true;
|
|
67
|
+
connection?: true;
|
|
68
|
+
queue?: true;
|
|
69
|
+
payload?: true;
|
|
70
|
+
exception?: true;
|
|
71
|
+
failed_at?: true;
|
|
72
|
+
};
|
|
73
|
+
export type Failed_jobsCountAggregateInputType = {
|
|
74
|
+
id?: true;
|
|
75
|
+
uuid?: true;
|
|
76
|
+
connection?: true;
|
|
77
|
+
queue?: true;
|
|
78
|
+
payload?: true;
|
|
79
|
+
exception?: true;
|
|
80
|
+
failed_at?: true;
|
|
81
|
+
_all?: true;
|
|
82
|
+
};
|
|
83
|
+
export type Failed_jobsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
84
|
+
/**
|
|
85
|
+
* Filter which failed_jobs to aggregate.
|
|
86
|
+
*/
|
|
87
|
+
where?: Prisma.failed_jobsWhereInput;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
90
|
+
*
|
|
91
|
+
* Determine the order of failed_jobs to fetch.
|
|
92
|
+
*/
|
|
93
|
+
orderBy?: Prisma.failed_jobsOrderByWithRelationInput | Prisma.failed_jobsOrderByWithRelationInput[];
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
96
|
+
*
|
|
97
|
+
* Sets the start position
|
|
98
|
+
*/
|
|
99
|
+
cursor?: Prisma.failed_jobsWhereUniqueInput;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
102
|
+
*
|
|
103
|
+
* Take `±n` failed_jobs from the position of the cursor.
|
|
104
|
+
*/
|
|
105
|
+
take?: number;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
108
|
+
*
|
|
109
|
+
* Skip the first `n` failed_jobs.
|
|
110
|
+
*/
|
|
111
|
+
skip?: number;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Count returned failed_jobs
|
|
116
|
+
**/
|
|
117
|
+
_count?: true | Failed_jobsCountAggregateInputType;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Select which fields to average
|
|
122
|
+
**/
|
|
123
|
+
_avg?: Failed_jobsAvgAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to sum
|
|
128
|
+
**/
|
|
129
|
+
_sum?: Failed_jobsSumAggregateInputType;
|
|
130
|
+
/**
|
|
131
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
132
|
+
*
|
|
133
|
+
* Select which fields to find the minimum value
|
|
134
|
+
**/
|
|
135
|
+
_min?: Failed_jobsMinAggregateInputType;
|
|
136
|
+
/**
|
|
137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
138
|
+
*
|
|
139
|
+
* Select which fields to find the maximum value
|
|
140
|
+
**/
|
|
141
|
+
_max?: Failed_jobsMaxAggregateInputType;
|
|
142
|
+
};
|
|
143
|
+
export type GetFailed_jobsAggregateType<T extends Failed_jobsAggregateArgs> = {
|
|
144
|
+
[P in keyof T & keyof AggregateFailed_jobs]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateFailed_jobs[P]> : Prisma.GetScalarType<T[P], AggregateFailed_jobs[P]>;
|
|
145
|
+
};
|
|
146
|
+
export type failed_jobsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
147
|
+
where?: Prisma.failed_jobsWhereInput;
|
|
148
|
+
orderBy?: Prisma.failed_jobsOrderByWithAggregationInput | Prisma.failed_jobsOrderByWithAggregationInput[];
|
|
149
|
+
by: Prisma.Failed_jobsScalarFieldEnum[] | Prisma.Failed_jobsScalarFieldEnum;
|
|
150
|
+
having?: Prisma.failed_jobsScalarWhereWithAggregatesInput;
|
|
151
|
+
take?: number;
|
|
152
|
+
skip?: number;
|
|
153
|
+
_count?: Failed_jobsCountAggregateInputType | true;
|
|
154
|
+
_avg?: Failed_jobsAvgAggregateInputType;
|
|
155
|
+
_sum?: Failed_jobsSumAggregateInputType;
|
|
156
|
+
_min?: Failed_jobsMinAggregateInputType;
|
|
157
|
+
_max?: Failed_jobsMaxAggregateInputType;
|
|
158
|
+
};
|
|
159
|
+
export type Failed_jobsGroupByOutputType = {
|
|
160
|
+
id: bigint;
|
|
161
|
+
uuid: string;
|
|
162
|
+
connection: string;
|
|
163
|
+
queue: string;
|
|
164
|
+
payload: string;
|
|
165
|
+
exception: string;
|
|
166
|
+
failed_at: Date;
|
|
167
|
+
_count: Failed_jobsCountAggregateOutputType | null;
|
|
168
|
+
_avg: Failed_jobsAvgAggregateOutputType | null;
|
|
169
|
+
_sum: Failed_jobsSumAggregateOutputType | null;
|
|
170
|
+
_min: Failed_jobsMinAggregateOutputType | null;
|
|
171
|
+
_max: Failed_jobsMaxAggregateOutputType | null;
|
|
172
|
+
};
|
|
173
|
+
type GetFailed_jobsGroupByPayload<T extends failed_jobsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Failed_jobsGroupByOutputType, T['by']> & {
|
|
174
|
+
[P in ((keyof T) & (keyof Failed_jobsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Failed_jobsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Failed_jobsGroupByOutputType[P]>;
|
|
175
|
+
}>>;
|
|
176
|
+
export type failed_jobsWhereInput = {
|
|
177
|
+
AND?: Prisma.failed_jobsWhereInput | Prisma.failed_jobsWhereInput[];
|
|
178
|
+
OR?: Prisma.failed_jobsWhereInput[];
|
|
179
|
+
NOT?: Prisma.failed_jobsWhereInput | Prisma.failed_jobsWhereInput[];
|
|
180
|
+
id?: Prisma.BigIntFilter<"failed_jobs"> | bigint | number;
|
|
181
|
+
uuid?: Prisma.StringFilter<"failed_jobs"> | string;
|
|
182
|
+
connection?: Prisma.StringFilter<"failed_jobs"> | string;
|
|
183
|
+
queue?: Prisma.StringFilter<"failed_jobs"> | string;
|
|
184
|
+
payload?: Prisma.StringFilter<"failed_jobs"> | string;
|
|
185
|
+
exception?: Prisma.StringFilter<"failed_jobs"> | string;
|
|
186
|
+
failed_at?: Prisma.DateTimeFilter<"failed_jobs"> | Date | string;
|
|
187
|
+
};
|
|
188
|
+
export type failed_jobsOrderByWithRelationInput = {
|
|
189
|
+
id?: Prisma.SortOrder;
|
|
190
|
+
uuid?: Prisma.SortOrder;
|
|
191
|
+
connection?: Prisma.SortOrder;
|
|
192
|
+
queue?: Prisma.SortOrder;
|
|
193
|
+
payload?: Prisma.SortOrder;
|
|
194
|
+
exception?: Prisma.SortOrder;
|
|
195
|
+
failed_at?: Prisma.SortOrder;
|
|
196
|
+
};
|
|
197
|
+
export type failed_jobsWhereUniqueInput = Prisma.AtLeast<{
|
|
198
|
+
id?: bigint | number;
|
|
199
|
+
uuid?: string;
|
|
200
|
+
AND?: Prisma.failed_jobsWhereInput | Prisma.failed_jobsWhereInput[];
|
|
201
|
+
OR?: Prisma.failed_jobsWhereInput[];
|
|
202
|
+
NOT?: Prisma.failed_jobsWhereInput | Prisma.failed_jobsWhereInput[];
|
|
203
|
+
connection?: Prisma.StringFilter<"failed_jobs"> | string;
|
|
204
|
+
queue?: Prisma.StringFilter<"failed_jobs"> | string;
|
|
205
|
+
payload?: Prisma.StringFilter<"failed_jobs"> | string;
|
|
206
|
+
exception?: Prisma.StringFilter<"failed_jobs"> | string;
|
|
207
|
+
failed_at?: Prisma.DateTimeFilter<"failed_jobs"> | Date | string;
|
|
208
|
+
}, "id" | "uuid">;
|
|
209
|
+
export type failed_jobsOrderByWithAggregationInput = {
|
|
210
|
+
id?: Prisma.SortOrder;
|
|
211
|
+
uuid?: Prisma.SortOrder;
|
|
212
|
+
connection?: Prisma.SortOrder;
|
|
213
|
+
queue?: Prisma.SortOrder;
|
|
214
|
+
payload?: Prisma.SortOrder;
|
|
215
|
+
exception?: Prisma.SortOrder;
|
|
216
|
+
failed_at?: Prisma.SortOrder;
|
|
217
|
+
_count?: Prisma.failed_jobsCountOrderByAggregateInput;
|
|
218
|
+
_avg?: Prisma.failed_jobsAvgOrderByAggregateInput;
|
|
219
|
+
_max?: Prisma.failed_jobsMaxOrderByAggregateInput;
|
|
220
|
+
_min?: Prisma.failed_jobsMinOrderByAggregateInput;
|
|
221
|
+
_sum?: Prisma.failed_jobsSumOrderByAggregateInput;
|
|
222
|
+
};
|
|
223
|
+
export type failed_jobsScalarWhereWithAggregatesInput = {
|
|
224
|
+
AND?: Prisma.failed_jobsScalarWhereWithAggregatesInput | Prisma.failed_jobsScalarWhereWithAggregatesInput[];
|
|
225
|
+
OR?: Prisma.failed_jobsScalarWhereWithAggregatesInput[];
|
|
226
|
+
NOT?: Prisma.failed_jobsScalarWhereWithAggregatesInput | Prisma.failed_jobsScalarWhereWithAggregatesInput[];
|
|
227
|
+
id?: Prisma.BigIntWithAggregatesFilter<"failed_jobs"> | bigint | number;
|
|
228
|
+
uuid?: Prisma.StringWithAggregatesFilter<"failed_jobs"> | string;
|
|
229
|
+
connection?: Prisma.StringWithAggregatesFilter<"failed_jobs"> | string;
|
|
230
|
+
queue?: Prisma.StringWithAggregatesFilter<"failed_jobs"> | string;
|
|
231
|
+
payload?: Prisma.StringWithAggregatesFilter<"failed_jobs"> | string;
|
|
232
|
+
exception?: Prisma.StringWithAggregatesFilter<"failed_jobs"> | string;
|
|
233
|
+
failed_at?: Prisma.DateTimeWithAggregatesFilter<"failed_jobs"> | Date | string;
|
|
234
|
+
};
|
|
235
|
+
export type failed_jobsCreateInput = {
|
|
236
|
+
id?: bigint | number;
|
|
237
|
+
uuid: string;
|
|
238
|
+
connection: string;
|
|
239
|
+
queue: string;
|
|
240
|
+
payload: string;
|
|
241
|
+
exception: string;
|
|
242
|
+
failed_at?: Date | string;
|
|
243
|
+
};
|
|
244
|
+
export type failed_jobsUncheckedCreateInput = {
|
|
245
|
+
id?: bigint | number;
|
|
246
|
+
uuid: string;
|
|
247
|
+
connection: string;
|
|
248
|
+
queue: string;
|
|
249
|
+
payload: string;
|
|
250
|
+
exception: string;
|
|
251
|
+
failed_at?: Date | string;
|
|
252
|
+
};
|
|
253
|
+
export type failed_jobsUpdateInput = {
|
|
254
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
255
|
+
uuid?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
256
|
+
connection?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
257
|
+
queue?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
258
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
259
|
+
exception?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
260
|
+
failed_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
261
|
+
};
|
|
262
|
+
export type failed_jobsUncheckedUpdateInput = {
|
|
263
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
264
|
+
uuid?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
265
|
+
connection?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
266
|
+
queue?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
267
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
268
|
+
exception?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
269
|
+
failed_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
270
|
+
};
|
|
271
|
+
export type failed_jobsCreateManyInput = {
|
|
272
|
+
id?: bigint | number;
|
|
273
|
+
uuid: string;
|
|
274
|
+
connection: string;
|
|
275
|
+
queue: string;
|
|
276
|
+
payload: string;
|
|
277
|
+
exception: string;
|
|
278
|
+
failed_at?: Date | string;
|
|
279
|
+
};
|
|
280
|
+
export type failed_jobsUpdateManyMutationInput = {
|
|
281
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
282
|
+
uuid?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
283
|
+
connection?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
284
|
+
queue?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
285
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
286
|
+
exception?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
287
|
+
failed_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
288
|
+
};
|
|
289
|
+
export type failed_jobsUncheckedUpdateManyInput = {
|
|
290
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
291
|
+
uuid?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
292
|
+
connection?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
293
|
+
queue?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
294
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
295
|
+
exception?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
296
|
+
failed_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
297
|
+
};
|
|
298
|
+
export type failed_jobsCountOrderByAggregateInput = {
|
|
299
|
+
id?: Prisma.SortOrder;
|
|
300
|
+
uuid?: Prisma.SortOrder;
|
|
301
|
+
connection?: Prisma.SortOrder;
|
|
302
|
+
queue?: Prisma.SortOrder;
|
|
303
|
+
payload?: Prisma.SortOrder;
|
|
304
|
+
exception?: Prisma.SortOrder;
|
|
305
|
+
failed_at?: Prisma.SortOrder;
|
|
306
|
+
};
|
|
307
|
+
export type failed_jobsAvgOrderByAggregateInput = {
|
|
308
|
+
id?: Prisma.SortOrder;
|
|
309
|
+
};
|
|
310
|
+
export type failed_jobsMaxOrderByAggregateInput = {
|
|
311
|
+
id?: Prisma.SortOrder;
|
|
312
|
+
uuid?: Prisma.SortOrder;
|
|
313
|
+
connection?: Prisma.SortOrder;
|
|
314
|
+
queue?: Prisma.SortOrder;
|
|
315
|
+
payload?: Prisma.SortOrder;
|
|
316
|
+
exception?: Prisma.SortOrder;
|
|
317
|
+
failed_at?: Prisma.SortOrder;
|
|
318
|
+
};
|
|
319
|
+
export type failed_jobsMinOrderByAggregateInput = {
|
|
320
|
+
id?: Prisma.SortOrder;
|
|
321
|
+
uuid?: Prisma.SortOrder;
|
|
322
|
+
connection?: Prisma.SortOrder;
|
|
323
|
+
queue?: Prisma.SortOrder;
|
|
324
|
+
payload?: Prisma.SortOrder;
|
|
325
|
+
exception?: Prisma.SortOrder;
|
|
326
|
+
failed_at?: Prisma.SortOrder;
|
|
327
|
+
};
|
|
328
|
+
export type failed_jobsSumOrderByAggregateInput = {
|
|
329
|
+
id?: Prisma.SortOrder;
|
|
330
|
+
};
|
|
331
|
+
export type BigIntFieldUpdateOperationsInput = {
|
|
332
|
+
set?: bigint | number;
|
|
333
|
+
increment?: bigint | number;
|
|
334
|
+
decrement?: bigint | number;
|
|
335
|
+
multiply?: bigint | number;
|
|
336
|
+
divide?: bigint | number;
|
|
337
|
+
};
|
|
338
|
+
export type DateTimeFieldUpdateOperationsInput = {
|
|
339
|
+
set?: Date | string;
|
|
340
|
+
};
|
|
341
|
+
export type failed_jobsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
342
|
+
id?: boolean;
|
|
343
|
+
uuid?: boolean;
|
|
344
|
+
connection?: boolean;
|
|
345
|
+
queue?: boolean;
|
|
346
|
+
payload?: boolean;
|
|
347
|
+
exception?: boolean;
|
|
348
|
+
failed_at?: boolean;
|
|
349
|
+
}, ExtArgs["result"]["failed_jobs"]>;
|
|
350
|
+
export type failed_jobsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
351
|
+
id?: boolean;
|
|
352
|
+
uuid?: boolean;
|
|
353
|
+
connection?: boolean;
|
|
354
|
+
queue?: boolean;
|
|
355
|
+
payload?: boolean;
|
|
356
|
+
exception?: boolean;
|
|
357
|
+
failed_at?: boolean;
|
|
358
|
+
}, ExtArgs["result"]["failed_jobs"]>;
|
|
359
|
+
export type failed_jobsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
360
|
+
id?: boolean;
|
|
361
|
+
uuid?: boolean;
|
|
362
|
+
connection?: boolean;
|
|
363
|
+
queue?: boolean;
|
|
364
|
+
payload?: boolean;
|
|
365
|
+
exception?: boolean;
|
|
366
|
+
failed_at?: boolean;
|
|
367
|
+
}, ExtArgs["result"]["failed_jobs"]>;
|
|
368
|
+
export type failed_jobsSelectScalar = {
|
|
369
|
+
id?: boolean;
|
|
370
|
+
uuid?: boolean;
|
|
371
|
+
connection?: boolean;
|
|
372
|
+
queue?: boolean;
|
|
373
|
+
payload?: boolean;
|
|
374
|
+
exception?: boolean;
|
|
375
|
+
failed_at?: boolean;
|
|
376
|
+
};
|
|
377
|
+
export type failed_jobsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "connection" | "queue" | "payload" | "exception" | "failed_at", ExtArgs["result"]["failed_jobs"]>;
|
|
378
|
+
export type $failed_jobsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
379
|
+
name: "failed_jobs";
|
|
380
|
+
objects: {};
|
|
381
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
382
|
+
id: bigint;
|
|
383
|
+
uuid: string;
|
|
384
|
+
connection: string;
|
|
385
|
+
queue: string;
|
|
386
|
+
payload: string;
|
|
387
|
+
exception: string;
|
|
388
|
+
failed_at: Date;
|
|
389
|
+
}, ExtArgs["result"]["failed_jobs"]>;
|
|
390
|
+
composites: {};
|
|
391
|
+
};
|
|
392
|
+
export type failed_jobsGetPayload<S extends boolean | null | undefined | failed_jobsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$failed_jobsPayload, S>;
|
|
393
|
+
export type failed_jobsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<failed_jobsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
394
|
+
select?: Failed_jobsCountAggregateInputType | true;
|
|
395
|
+
};
|
|
396
|
+
export interface failed_jobsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
397
|
+
[K: symbol]: {
|
|
398
|
+
types: Prisma.TypeMap<ExtArgs>['model']['failed_jobs'];
|
|
399
|
+
meta: {
|
|
400
|
+
name: 'failed_jobs';
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
/**
|
|
404
|
+
* Find zero or one Failed_jobs that matches the filter.
|
|
405
|
+
* @param {failed_jobsFindUniqueArgs} args - Arguments to find a Failed_jobs
|
|
406
|
+
* @example
|
|
407
|
+
* // Get one Failed_jobs
|
|
408
|
+
* const failed_jobs = await prisma.failed_jobs.findUnique({
|
|
409
|
+
* where: {
|
|
410
|
+
* // ... provide filter here
|
|
411
|
+
* }
|
|
412
|
+
* })
|
|
413
|
+
*/
|
|
414
|
+
findUnique<T extends failed_jobsFindUniqueArgs>(args: Prisma.SelectSubset<T, failed_jobsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__failed_jobsClient<runtime.Types.Result.GetResult<Prisma.$failed_jobsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
415
|
+
/**
|
|
416
|
+
* Find one Failed_jobs that matches the filter or throw an error with `error.code='P2025'`
|
|
417
|
+
* if no matches were found.
|
|
418
|
+
* @param {failed_jobsFindUniqueOrThrowArgs} args - Arguments to find a Failed_jobs
|
|
419
|
+
* @example
|
|
420
|
+
* // Get one Failed_jobs
|
|
421
|
+
* const failed_jobs = await prisma.failed_jobs.findUniqueOrThrow({
|
|
422
|
+
* where: {
|
|
423
|
+
* // ... provide filter here
|
|
424
|
+
* }
|
|
425
|
+
* })
|
|
426
|
+
*/
|
|
427
|
+
findUniqueOrThrow<T extends failed_jobsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, failed_jobsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__failed_jobsClient<runtime.Types.Result.GetResult<Prisma.$failed_jobsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
428
|
+
/**
|
|
429
|
+
* Find the first Failed_jobs that matches the filter.
|
|
430
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
431
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
432
|
+
* @param {failed_jobsFindFirstArgs} args - Arguments to find a Failed_jobs
|
|
433
|
+
* @example
|
|
434
|
+
* // Get one Failed_jobs
|
|
435
|
+
* const failed_jobs = await prisma.failed_jobs.findFirst({
|
|
436
|
+
* where: {
|
|
437
|
+
* // ... provide filter here
|
|
438
|
+
* }
|
|
439
|
+
* })
|
|
440
|
+
*/
|
|
441
|
+
findFirst<T extends failed_jobsFindFirstArgs>(args?: Prisma.SelectSubset<T, failed_jobsFindFirstArgs<ExtArgs>>): Prisma.Prisma__failed_jobsClient<runtime.Types.Result.GetResult<Prisma.$failed_jobsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
442
|
+
/**
|
|
443
|
+
* Find the first Failed_jobs that matches the filter or
|
|
444
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
445
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
446
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
447
|
+
* @param {failed_jobsFindFirstOrThrowArgs} args - Arguments to find a Failed_jobs
|
|
448
|
+
* @example
|
|
449
|
+
* // Get one Failed_jobs
|
|
450
|
+
* const failed_jobs = await prisma.failed_jobs.findFirstOrThrow({
|
|
451
|
+
* where: {
|
|
452
|
+
* // ... provide filter here
|
|
453
|
+
* }
|
|
454
|
+
* })
|
|
455
|
+
*/
|
|
456
|
+
findFirstOrThrow<T extends failed_jobsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, failed_jobsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__failed_jobsClient<runtime.Types.Result.GetResult<Prisma.$failed_jobsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
457
|
+
/**
|
|
458
|
+
* Find zero or more Failed_jobs that matches the filter.
|
|
459
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
460
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
461
|
+
* @param {failed_jobsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
462
|
+
* @example
|
|
463
|
+
* // Get all Failed_jobs
|
|
464
|
+
* const failed_jobs = await prisma.failed_jobs.findMany()
|
|
465
|
+
*
|
|
466
|
+
* // Get first 10 Failed_jobs
|
|
467
|
+
* const failed_jobs = await prisma.failed_jobs.findMany({ take: 10 })
|
|
468
|
+
*
|
|
469
|
+
* // Only select the `id`
|
|
470
|
+
* const failed_jobsWithIdOnly = await prisma.failed_jobs.findMany({ select: { id: true } })
|
|
471
|
+
*
|
|
472
|
+
*/
|
|
473
|
+
findMany<T extends failed_jobsFindManyArgs>(args?: Prisma.SelectSubset<T, failed_jobsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$failed_jobsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
474
|
+
/**
|
|
475
|
+
* Create a Failed_jobs.
|
|
476
|
+
* @param {failed_jobsCreateArgs} args - Arguments to create a Failed_jobs.
|
|
477
|
+
* @example
|
|
478
|
+
* // Create one Failed_jobs
|
|
479
|
+
* const Failed_jobs = await prisma.failed_jobs.create({
|
|
480
|
+
* data: {
|
|
481
|
+
* // ... data to create a Failed_jobs
|
|
482
|
+
* }
|
|
483
|
+
* })
|
|
484
|
+
*
|
|
485
|
+
*/
|
|
486
|
+
create<T extends failed_jobsCreateArgs>(args: Prisma.SelectSubset<T, failed_jobsCreateArgs<ExtArgs>>): Prisma.Prisma__failed_jobsClient<runtime.Types.Result.GetResult<Prisma.$failed_jobsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
487
|
+
/**
|
|
488
|
+
* Create many Failed_jobs.
|
|
489
|
+
* @param {failed_jobsCreateManyArgs} args - Arguments to create many Failed_jobs.
|
|
490
|
+
* @example
|
|
491
|
+
* // Create many Failed_jobs
|
|
492
|
+
* const failed_jobs = await prisma.failed_jobs.createMany({
|
|
493
|
+
* data: [
|
|
494
|
+
* // ... provide data here
|
|
495
|
+
* ]
|
|
496
|
+
* })
|
|
497
|
+
*
|
|
498
|
+
*/
|
|
499
|
+
createMany<T extends failed_jobsCreateManyArgs>(args?: Prisma.SelectSubset<T, failed_jobsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
500
|
+
/**
|
|
501
|
+
* Create many Failed_jobs and returns the data saved in the database.
|
|
502
|
+
* @param {failed_jobsCreateManyAndReturnArgs} args - Arguments to create many Failed_jobs.
|
|
503
|
+
* @example
|
|
504
|
+
* // Create many Failed_jobs
|
|
505
|
+
* const failed_jobs = await prisma.failed_jobs.createManyAndReturn({
|
|
506
|
+
* data: [
|
|
507
|
+
* // ... provide data here
|
|
508
|
+
* ]
|
|
509
|
+
* })
|
|
510
|
+
*
|
|
511
|
+
* // Create many Failed_jobs and only return the `id`
|
|
512
|
+
* const failed_jobsWithIdOnly = await prisma.failed_jobs.createManyAndReturn({
|
|
513
|
+
* select: { id: true },
|
|
514
|
+
* data: [
|
|
515
|
+
* // ... provide data here
|
|
516
|
+
* ]
|
|
517
|
+
* })
|
|
518
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
519
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
520
|
+
*
|
|
521
|
+
*/
|
|
522
|
+
createManyAndReturn<T extends failed_jobsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, failed_jobsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$failed_jobsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
523
|
+
/**
|
|
524
|
+
* Delete a Failed_jobs.
|
|
525
|
+
* @param {failed_jobsDeleteArgs} args - Arguments to delete one Failed_jobs.
|
|
526
|
+
* @example
|
|
527
|
+
* // Delete one Failed_jobs
|
|
528
|
+
* const Failed_jobs = await prisma.failed_jobs.delete({
|
|
529
|
+
* where: {
|
|
530
|
+
* // ... filter to delete one Failed_jobs
|
|
531
|
+
* }
|
|
532
|
+
* })
|
|
533
|
+
*
|
|
534
|
+
*/
|
|
535
|
+
delete<T extends failed_jobsDeleteArgs>(args: Prisma.SelectSubset<T, failed_jobsDeleteArgs<ExtArgs>>): Prisma.Prisma__failed_jobsClient<runtime.Types.Result.GetResult<Prisma.$failed_jobsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
536
|
+
/**
|
|
537
|
+
* Update one Failed_jobs.
|
|
538
|
+
* @param {failed_jobsUpdateArgs} args - Arguments to update one Failed_jobs.
|
|
539
|
+
* @example
|
|
540
|
+
* // Update one Failed_jobs
|
|
541
|
+
* const failed_jobs = await prisma.failed_jobs.update({
|
|
542
|
+
* where: {
|
|
543
|
+
* // ... provide filter here
|
|
544
|
+
* },
|
|
545
|
+
* data: {
|
|
546
|
+
* // ... provide data here
|
|
547
|
+
* }
|
|
548
|
+
* })
|
|
549
|
+
*
|
|
550
|
+
*/
|
|
551
|
+
update<T extends failed_jobsUpdateArgs>(args: Prisma.SelectSubset<T, failed_jobsUpdateArgs<ExtArgs>>): Prisma.Prisma__failed_jobsClient<runtime.Types.Result.GetResult<Prisma.$failed_jobsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
552
|
+
/**
|
|
553
|
+
* Delete zero or more Failed_jobs.
|
|
554
|
+
* @param {failed_jobsDeleteManyArgs} args - Arguments to filter Failed_jobs to delete.
|
|
555
|
+
* @example
|
|
556
|
+
* // Delete a few Failed_jobs
|
|
557
|
+
* const { count } = await prisma.failed_jobs.deleteMany({
|
|
558
|
+
* where: {
|
|
559
|
+
* // ... provide filter here
|
|
560
|
+
* }
|
|
561
|
+
* })
|
|
562
|
+
*
|
|
563
|
+
*/
|
|
564
|
+
deleteMany<T extends failed_jobsDeleteManyArgs>(args?: Prisma.SelectSubset<T, failed_jobsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
565
|
+
/**
|
|
566
|
+
* Update zero or more Failed_jobs.
|
|
567
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
568
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
569
|
+
* @param {failed_jobsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
570
|
+
* @example
|
|
571
|
+
* // Update many Failed_jobs
|
|
572
|
+
* const failed_jobs = await prisma.failed_jobs.updateMany({
|
|
573
|
+
* where: {
|
|
574
|
+
* // ... provide filter here
|
|
575
|
+
* },
|
|
576
|
+
* data: {
|
|
577
|
+
* // ... provide data here
|
|
578
|
+
* }
|
|
579
|
+
* })
|
|
580
|
+
*
|
|
581
|
+
*/
|
|
582
|
+
updateMany<T extends failed_jobsUpdateManyArgs>(args: Prisma.SelectSubset<T, failed_jobsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
583
|
+
/**
|
|
584
|
+
* Update zero or more Failed_jobs and returns the data updated in the database.
|
|
585
|
+
* @param {failed_jobsUpdateManyAndReturnArgs} args - Arguments to update many Failed_jobs.
|
|
586
|
+
* @example
|
|
587
|
+
* // Update many Failed_jobs
|
|
588
|
+
* const failed_jobs = await prisma.failed_jobs.updateManyAndReturn({
|
|
589
|
+
* where: {
|
|
590
|
+
* // ... provide filter here
|
|
591
|
+
* },
|
|
592
|
+
* data: [
|
|
593
|
+
* // ... provide data here
|
|
594
|
+
* ]
|
|
595
|
+
* })
|
|
596
|
+
*
|
|
597
|
+
* // Update zero or more Failed_jobs and only return the `id`
|
|
598
|
+
* const failed_jobsWithIdOnly = await prisma.failed_jobs.updateManyAndReturn({
|
|
599
|
+
* select: { id: true },
|
|
600
|
+
* where: {
|
|
601
|
+
* // ... provide filter here
|
|
602
|
+
* },
|
|
603
|
+
* data: [
|
|
604
|
+
* // ... provide data here
|
|
605
|
+
* ]
|
|
606
|
+
* })
|
|
607
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
608
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
609
|
+
*
|
|
610
|
+
*/
|
|
611
|
+
updateManyAndReturn<T extends failed_jobsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, failed_jobsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$failed_jobsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
612
|
+
/**
|
|
613
|
+
* Create or update one Failed_jobs.
|
|
614
|
+
* @param {failed_jobsUpsertArgs} args - Arguments to update or create a Failed_jobs.
|
|
615
|
+
* @example
|
|
616
|
+
* // Update or create a Failed_jobs
|
|
617
|
+
* const failed_jobs = await prisma.failed_jobs.upsert({
|
|
618
|
+
* create: {
|
|
619
|
+
* // ... data to create a Failed_jobs
|
|
620
|
+
* },
|
|
621
|
+
* update: {
|
|
622
|
+
* // ... in case it already exists, update
|
|
623
|
+
* },
|
|
624
|
+
* where: {
|
|
625
|
+
* // ... the filter for the Failed_jobs we want to update
|
|
626
|
+
* }
|
|
627
|
+
* })
|
|
628
|
+
*/
|
|
629
|
+
upsert<T extends failed_jobsUpsertArgs>(args: Prisma.SelectSubset<T, failed_jobsUpsertArgs<ExtArgs>>): Prisma.Prisma__failed_jobsClient<runtime.Types.Result.GetResult<Prisma.$failed_jobsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
630
|
+
/**
|
|
631
|
+
* Count the number of Failed_jobs.
|
|
632
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
633
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
634
|
+
* @param {failed_jobsCountArgs} args - Arguments to filter Failed_jobs to count.
|
|
635
|
+
* @example
|
|
636
|
+
* // Count the number of Failed_jobs
|
|
637
|
+
* const count = await prisma.failed_jobs.count({
|
|
638
|
+
* where: {
|
|
639
|
+
* // ... the filter for the Failed_jobs we want to count
|
|
640
|
+
* }
|
|
641
|
+
* })
|
|
642
|
+
**/
|
|
643
|
+
count<T extends failed_jobsCountArgs>(args?: Prisma.Subset<T, failed_jobsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Failed_jobsCountAggregateOutputType> : number>;
|
|
644
|
+
/**
|
|
645
|
+
* Allows you to perform aggregations operations on a Failed_jobs.
|
|
646
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
647
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
648
|
+
* @param {Failed_jobsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
649
|
+
* @example
|
|
650
|
+
* // Ordered by age ascending
|
|
651
|
+
* // Where email contains prisma.io
|
|
652
|
+
* // Limited to the 10 users
|
|
653
|
+
* const aggregations = await prisma.user.aggregate({
|
|
654
|
+
* _avg: {
|
|
655
|
+
* age: true,
|
|
656
|
+
* },
|
|
657
|
+
* where: {
|
|
658
|
+
* email: {
|
|
659
|
+
* contains: "prisma.io",
|
|
660
|
+
* },
|
|
661
|
+
* },
|
|
662
|
+
* orderBy: {
|
|
663
|
+
* age: "asc",
|
|
664
|
+
* },
|
|
665
|
+
* take: 10,
|
|
666
|
+
* })
|
|
667
|
+
**/
|
|
668
|
+
aggregate<T extends Failed_jobsAggregateArgs>(args: Prisma.Subset<T, Failed_jobsAggregateArgs>): Prisma.PrismaPromise<GetFailed_jobsAggregateType<T>>;
|
|
669
|
+
/**
|
|
670
|
+
* Group by Failed_jobs.
|
|
671
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
672
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
673
|
+
* @param {failed_jobsGroupByArgs} args - Group by arguments.
|
|
674
|
+
* @example
|
|
675
|
+
* // Group by city, order by createdAt, get count
|
|
676
|
+
* const result = await prisma.user.groupBy({
|
|
677
|
+
* by: ['city', 'createdAt'],
|
|
678
|
+
* orderBy: {
|
|
679
|
+
* createdAt: true
|
|
680
|
+
* },
|
|
681
|
+
* _count: {
|
|
682
|
+
* _all: true
|
|
683
|
+
* },
|
|
684
|
+
* })
|
|
685
|
+
*
|
|
686
|
+
**/
|
|
687
|
+
groupBy<T extends failed_jobsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
688
|
+
orderBy: failed_jobsGroupByArgs['orderBy'];
|
|
689
|
+
} : {
|
|
690
|
+
orderBy?: failed_jobsGroupByArgs['orderBy'];
|
|
691
|
+
}, 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 ? {
|
|
692
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
693
|
+
Error,
|
|
694
|
+
'Field ',
|
|
695
|
+
P,
|
|
696
|
+
` in "having" needs to be provided in "by"`
|
|
697
|
+
];
|
|
698
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
699
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
700
|
+
}[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 ? {} : {
|
|
701
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
702
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
703
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
704
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, failed_jobsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFailed_jobsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
705
|
+
/**
|
|
706
|
+
* Fields of the failed_jobs model
|
|
707
|
+
*/
|
|
708
|
+
readonly fields: failed_jobsFieldRefs;
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
* The delegate class that acts as a "Promise-like" for failed_jobs.
|
|
712
|
+
* Why is this prefixed with `Prisma__`?
|
|
713
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
714
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
715
|
+
*/
|
|
716
|
+
export interface Prisma__failed_jobsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
717
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
718
|
+
/**
|
|
719
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
720
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
721
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
722
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
723
|
+
*/
|
|
724
|
+
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>;
|
|
725
|
+
/**
|
|
726
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
727
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
728
|
+
* @returns A Promise for the completion of the callback.
|
|
729
|
+
*/
|
|
730
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
731
|
+
/**
|
|
732
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
733
|
+
* resolved value cannot be modified from the callback.
|
|
734
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
735
|
+
* @returns A Promise for the completion of the callback.
|
|
736
|
+
*/
|
|
737
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* Fields of the failed_jobs model
|
|
741
|
+
*/
|
|
742
|
+
export interface failed_jobsFieldRefs {
|
|
743
|
+
readonly id: Prisma.FieldRef<"failed_jobs", 'BigInt'>;
|
|
744
|
+
readonly uuid: Prisma.FieldRef<"failed_jobs", 'String'>;
|
|
745
|
+
readonly connection: Prisma.FieldRef<"failed_jobs", 'String'>;
|
|
746
|
+
readonly queue: Prisma.FieldRef<"failed_jobs", 'String'>;
|
|
747
|
+
readonly payload: Prisma.FieldRef<"failed_jobs", 'String'>;
|
|
748
|
+
readonly exception: Prisma.FieldRef<"failed_jobs", 'String'>;
|
|
749
|
+
readonly failed_at: Prisma.FieldRef<"failed_jobs", 'DateTime'>;
|
|
750
|
+
}
|
|
751
|
+
/**
|
|
752
|
+
* failed_jobs findUnique
|
|
753
|
+
*/
|
|
754
|
+
export type failed_jobsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
755
|
+
/**
|
|
756
|
+
* Select specific fields to fetch from the failed_jobs
|
|
757
|
+
*/
|
|
758
|
+
select?: Prisma.failed_jobsSelect<ExtArgs> | null;
|
|
759
|
+
/**
|
|
760
|
+
* Omit specific fields from the failed_jobs
|
|
761
|
+
*/
|
|
762
|
+
omit?: Prisma.failed_jobsOmit<ExtArgs> | null;
|
|
763
|
+
/**
|
|
764
|
+
* Filter, which failed_jobs to fetch.
|
|
765
|
+
*/
|
|
766
|
+
where: Prisma.failed_jobsWhereUniqueInput;
|
|
767
|
+
};
|
|
768
|
+
/**
|
|
769
|
+
* failed_jobs findUniqueOrThrow
|
|
770
|
+
*/
|
|
771
|
+
export type failed_jobsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
772
|
+
/**
|
|
773
|
+
* Select specific fields to fetch from the failed_jobs
|
|
774
|
+
*/
|
|
775
|
+
select?: Prisma.failed_jobsSelect<ExtArgs> | null;
|
|
776
|
+
/**
|
|
777
|
+
* Omit specific fields from the failed_jobs
|
|
778
|
+
*/
|
|
779
|
+
omit?: Prisma.failed_jobsOmit<ExtArgs> | null;
|
|
780
|
+
/**
|
|
781
|
+
* Filter, which failed_jobs to fetch.
|
|
782
|
+
*/
|
|
783
|
+
where: Prisma.failed_jobsWhereUniqueInput;
|
|
784
|
+
};
|
|
785
|
+
/**
|
|
786
|
+
* failed_jobs findFirst
|
|
787
|
+
*/
|
|
788
|
+
export type failed_jobsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
789
|
+
/**
|
|
790
|
+
* Select specific fields to fetch from the failed_jobs
|
|
791
|
+
*/
|
|
792
|
+
select?: Prisma.failed_jobsSelect<ExtArgs> | null;
|
|
793
|
+
/**
|
|
794
|
+
* Omit specific fields from the failed_jobs
|
|
795
|
+
*/
|
|
796
|
+
omit?: Prisma.failed_jobsOmit<ExtArgs> | null;
|
|
797
|
+
/**
|
|
798
|
+
* Filter, which failed_jobs to fetch.
|
|
799
|
+
*/
|
|
800
|
+
where?: Prisma.failed_jobsWhereInput;
|
|
801
|
+
/**
|
|
802
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
803
|
+
*
|
|
804
|
+
* Determine the order of failed_jobs to fetch.
|
|
805
|
+
*/
|
|
806
|
+
orderBy?: Prisma.failed_jobsOrderByWithRelationInput | Prisma.failed_jobsOrderByWithRelationInput[];
|
|
807
|
+
/**
|
|
808
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
809
|
+
*
|
|
810
|
+
* Sets the position for searching for failed_jobs.
|
|
811
|
+
*/
|
|
812
|
+
cursor?: Prisma.failed_jobsWhereUniqueInput;
|
|
813
|
+
/**
|
|
814
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
815
|
+
*
|
|
816
|
+
* Take `±n` failed_jobs from the position of the cursor.
|
|
817
|
+
*/
|
|
818
|
+
take?: number;
|
|
819
|
+
/**
|
|
820
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
821
|
+
*
|
|
822
|
+
* Skip the first `n` failed_jobs.
|
|
823
|
+
*/
|
|
824
|
+
skip?: number;
|
|
825
|
+
/**
|
|
826
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
827
|
+
*
|
|
828
|
+
* Filter by unique combinations of failed_jobs.
|
|
829
|
+
*/
|
|
830
|
+
distinct?: Prisma.Failed_jobsScalarFieldEnum | Prisma.Failed_jobsScalarFieldEnum[];
|
|
831
|
+
};
|
|
832
|
+
/**
|
|
833
|
+
* failed_jobs findFirstOrThrow
|
|
834
|
+
*/
|
|
835
|
+
export type failed_jobsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
836
|
+
/**
|
|
837
|
+
* Select specific fields to fetch from the failed_jobs
|
|
838
|
+
*/
|
|
839
|
+
select?: Prisma.failed_jobsSelect<ExtArgs> | null;
|
|
840
|
+
/**
|
|
841
|
+
* Omit specific fields from the failed_jobs
|
|
842
|
+
*/
|
|
843
|
+
omit?: Prisma.failed_jobsOmit<ExtArgs> | null;
|
|
844
|
+
/**
|
|
845
|
+
* Filter, which failed_jobs to fetch.
|
|
846
|
+
*/
|
|
847
|
+
where?: Prisma.failed_jobsWhereInput;
|
|
848
|
+
/**
|
|
849
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
850
|
+
*
|
|
851
|
+
* Determine the order of failed_jobs to fetch.
|
|
852
|
+
*/
|
|
853
|
+
orderBy?: Prisma.failed_jobsOrderByWithRelationInput | Prisma.failed_jobsOrderByWithRelationInput[];
|
|
854
|
+
/**
|
|
855
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
856
|
+
*
|
|
857
|
+
* Sets the position for searching for failed_jobs.
|
|
858
|
+
*/
|
|
859
|
+
cursor?: Prisma.failed_jobsWhereUniqueInput;
|
|
860
|
+
/**
|
|
861
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
862
|
+
*
|
|
863
|
+
* Take `±n` failed_jobs from the position of the cursor.
|
|
864
|
+
*/
|
|
865
|
+
take?: number;
|
|
866
|
+
/**
|
|
867
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
868
|
+
*
|
|
869
|
+
* Skip the first `n` failed_jobs.
|
|
870
|
+
*/
|
|
871
|
+
skip?: number;
|
|
872
|
+
/**
|
|
873
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
874
|
+
*
|
|
875
|
+
* Filter by unique combinations of failed_jobs.
|
|
876
|
+
*/
|
|
877
|
+
distinct?: Prisma.Failed_jobsScalarFieldEnum | Prisma.Failed_jobsScalarFieldEnum[];
|
|
878
|
+
};
|
|
879
|
+
/**
|
|
880
|
+
* failed_jobs findMany
|
|
881
|
+
*/
|
|
882
|
+
export type failed_jobsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
883
|
+
/**
|
|
884
|
+
* Select specific fields to fetch from the failed_jobs
|
|
885
|
+
*/
|
|
886
|
+
select?: Prisma.failed_jobsSelect<ExtArgs> | null;
|
|
887
|
+
/**
|
|
888
|
+
* Omit specific fields from the failed_jobs
|
|
889
|
+
*/
|
|
890
|
+
omit?: Prisma.failed_jobsOmit<ExtArgs> | null;
|
|
891
|
+
/**
|
|
892
|
+
* Filter, which failed_jobs to fetch.
|
|
893
|
+
*/
|
|
894
|
+
where?: Prisma.failed_jobsWhereInput;
|
|
895
|
+
/**
|
|
896
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
897
|
+
*
|
|
898
|
+
* Determine the order of failed_jobs to fetch.
|
|
899
|
+
*/
|
|
900
|
+
orderBy?: Prisma.failed_jobsOrderByWithRelationInput | Prisma.failed_jobsOrderByWithRelationInput[];
|
|
901
|
+
/**
|
|
902
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
903
|
+
*
|
|
904
|
+
* Sets the position for listing failed_jobs.
|
|
905
|
+
*/
|
|
906
|
+
cursor?: Prisma.failed_jobsWhereUniqueInput;
|
|
907
|
+
/**
|
|
908
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
909
|
+
*
|
|
910
|
+
* Take `±n` failed_jobs from the position of the cursor.
|
|
911
|
+
*/
|
|
912
|
+
take?: number;
|
|
913
|
+
/**
|
|
914
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
915
|
+
*
|
|
916
|
+
* Skip the first `n` failed_jobs.
|
|
917
|
+
*/
|
|
918
|
+
skip?: number;
|
|
919
|
+
distinct?: Prisma.Failed_jobsScalarFieldEnum | Prisma.Failed_jobsScalarFieldEnum[];
|
|
920
|
+
};
|
|
921
|
+
/**
|
|
922
|
+
* failed_jobs create
|
|
923
|
+
*/
|
|
924
|
+
export type failed_jobsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
925
|
+
/**
|
|
926
|
+
* Select specific fields to fetch from the failed_jobs
|
|
927
|
+
*/
|
|
928
|
+
select?: Prisma.failed_jobsSelect<ExtArgs> | null;
|
|
929
|
+
/**
|
|
930
|
+
* Omit specific fields from the failed_jobs
|
|
931
|
+
*/
|
|
932
|
+
omit?: Prisma.failed_jobsOmit<ExtArgs> | null;
|
|
933
|
+
/**
|
|
934
|
+
* The data needed to create a failed_jobs.
|
|
935
|
+
*/
|
|
936
|
+
data: Prisma.XOR<Prisma.failed_jobsCreateInput, Prisma.failed_jobsUncheckedCreateInput>;
|
|
937
|
+
};
|
|
938
|
+
/**
|
|
939
|
+
* failed_jobs createMany
|
|
940
|
+
*/
|
|
941
|
+
export type failed_jobsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
942
|
+
/**
|
|
943
|
+
* The data used to create many failed_jobs.
|
|
944
|
+
*/
|
|
945
|
+
data: Prisma.failed_jobsCreateManyInput | Prisma.failed_jobsCreateManyInput[];
|
|
946
|
+
skipDuplicates?: boolean;
|
|
947
|
+
};
|
|
948
|
+
/**
|
|
949
|
+
* failed_jobs createManyAndReturn
|
|
950
|
+
*/
|
|
951
|
+
export type failed_jobsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
952
|
+
/**
|
|
953
|
+
* Select specific fields to fetch from the failed_jobs
|
|
954
|
+
*/
|
|
955
|
+
select?: Prisma.failed_jobsSelectCreateManyAndReturn<ExtArgs> | null;
|
|
956
|
+
/**
|
|
957
|
+
* Omit specific fields from the failed_jobs
|
|
958
|
+
*/
|
|
959
|
+
omit?: Prisma.failed_jobsOmit<ExtArgs> | null;
|
|
960
|
+
/**
|
|
961
|
+
* The data used to create many failed_jobs.
|
|
962
|
+
*/
|
|
963
|
+
data: Prisma.failed_jobsCreateManyInput | Prisma.failed_jobsCreateManyInput[];
|
|
964
|
+
skipDuplicates?: boolean;
|
|
965
|
+
};
|
|
966
|
+
/**
|
|
967
|
+
* failed_jobs update
|
|
968
|
+
*/
|
|
969
|
+
export type failed_jobsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
970
|
+
/**
|
|
971
|
+
* Select specific fields to fetch from the failed_jobs
|
|
972
|
+
*/
|
|
973
|
+
select?: Prisma.failed_jobsSelect<ExtArgs> | null;
|
|
974
|
+
/**
|
|
975
|
+
* Omit specific fields from the failed_jobs
|
|
976
|
+
*/
|
|
977
|
+
omit?: Prisma.failed_jobsOmit<ExtArgs> | null;
|
|
978
|
+
/**
|
|
979
|
+
* The data needed to update a failed_jobs.
|
|
980
|
+
*/
|
|
981
|
+
data: Prisma.XOR<Prisma.failed_jobsUpdateInput, Prisma.failed_jobsUncheckedUpdateInput>;
|
|
982
|
+
/**
|
|
983
|
+
* Choose, which failed_jobs to update.
|
|
984
|
+
*/
|
|
985
|
+
where: Prisma.failed_jobsWhereUniqueInput;
|
|
986
|
+
};
|
|
987
|
+
/**
|
|
988
|
+
* failed_jobs updateMany
|
|
989
|
+
*/
|
|
990
|
+
export type failed_jobsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
991
|
+
/**
|
|
992
|
+
* The data used to update failed_jobs.
|
|
993
|
+
*/
|
|
994
|
+
data: Prisma.XOR<Prisma.failed_jobsUpdateManyMutationInput, Prisma.failed_jobsUncheckedUpdateManyInput>;
|
|
995
|
+
/**
|
|
996
|
+
* Filter which failed_jobs to update
|
|
997
|
+
*/
|
|
998
|
+
where?: Prisma.failed_jobsWhereInput;
|
|
999
|
+
/**
|
|
1000
|
+
* Limit how many failed_jobs to update.
|
|
1001
|
+
*/
|
|
1002
|
+
limit?: number;
|
|
1003
|
+
};
|
|
1004
|
+
/**
|
|
1005
|
+
* failed_jobs updateManyAndReturn
|
|
1006
|
+
*/
|
|
1007
|
+
export type failed_jobsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1008
|
+
/**
|
|
1009
|
+
* Select specific fields to fetch from the failed_jobs
|
|
1010
|
+
*/
|
|
1011
|
+
select?: Prisma.failed_jobsSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1012
|
+
/**
|
|
1013
|
+
* Omit specific fields from the failed_jobs
|
|
1014
|
+
*/
|
|
1015
|
+
omit?: Prisma.failed_jobsOmit<ExtArgs> | null;
|
|
1016
|
+
/**
|
|
1017
|
+
* The data used to update failed_jobs.
|
|
1018
|
+
*/
|
|
1019
|
+
data: Prisma.XOR<Prisma.failed_jobsUpdateManyMutationInput, Prisma.failed_jobsUncheckedUpdateManyInput>;
|
|
1020
|
+
/**
|
|
1021
|
+
* Filter which failed_jobs to update
|
|
1022
|
+
*/
|
|
1023
|
+
where?: Prisma.failed_jobsWhereInput;
|
|
1024
|
+
/**
|
|
1025
|
+
* Limit how many failed_jobs to update.
|
|
1026
|
+
*/
|
|
1027
|
+
limit?: number;
|
|
1028
|
+
};
|
|
1029
|
+
/**
|
|
1030
|
+
* failed_jobs upsert
|
|
1031
|
+
*/
|
|
1032
|
+
export type failed_jobsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1033
|
+
/**
|
|
1034
|
+
* Select specific fields to fetch from the failed_jobs
|
|
1035
|
+
*/
|
|
1036
|
+
select?: Prisma.failed_jobsSelect<ExtArgs> | null;
|
|
1037
|
+
/**
|
|
1038
|
+
* Omit specific fields from the failed_jobs
|
|
1039
|
+
*/
|
|
1040
|
+
omit?: Prisma.failed_jobsOmit<ExtArgs> | null;
|
|
1041
|
+
/**
|
|
1042
|
+
* The filter to search for the failed_jobs to update in case it exists.
|
|
1043
|
+
*/
|
|
1044
|
+
where: Prisma.failed_jobsWhereUniqueInput;
|
|
1045
|
+
/**
|
|
1046
|
+
* In case the failed_jobs found by the `where` argument doesn't exist, create a new failed_jobs with this data.
|
|
1047
|
+
*/
|
|
1048
|
+
create: Prisma.XOR<Prisma.failed_jobsCreateInput, Prisma.failed_jobsUncheckedCreateInput>;
|
|
1049
|
+
/**
|
|
1050
|
+
* In case the failed_jobs was found with the provided `where` argument, update it with this data.
|
|
1051
|
+
*/
|
|
1052
|
+
update: Prisma.XOR<Prisma.failed_jobsUpdateInput, Prisma.failed_jobsUncheckedUpdateInput>;
|
|
1053
|
+
};
|
|
1054
|
+
/**
|
|
1055
|
+
* failed_jobs delete
|
|
1056
|
+
*/
|
|
1057
|
+
export type failed_jobsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1058
|
+
/**
|
|
1059
|
+
* Select specific fields to fetch from the failed_jobs
|
|
1060
|
+
*/
|
|
1061
|
+
select?: Prisma.failed_jobsSelect<ExtArgs> | null;
|
|
1062
|
+
/**
|
|
1063
|
+
* Omit specific fields from the failed_jobs
|
|
1064
|
+
*/
|
|
1065
|
+
omit?: Prisma.failed_jobsOmit<ExtArgs> | null;
|
|
1066
|
+
/**
|
|
1067
|
+
* Filter which failed_jobs to delete.
|
|
1068
|
+
*/
|
|
1069
|
+
where: Prisma.failed_jobsWhereUniqueInput;
|
|
1070
|
+
};
|
|
1071
|
+
/**
|
|
1072
|
+
* failed_jobs deleteMany
|
|
1073
|
+
*/
|
|
1074
|
+
export type failed_jobsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1075
|
+
/**
|
|
1076
|
+
* Filter which failed_jobs to delete
|
|
1077
|
+
*/
|
|
1078
|
+
where?: Prisma.failed_jobsWhereInput;
|
|
1079
|
+
/**
|
|
1080
|
+
* Limit how many failed_jobs to delete.
|
|
1081
|
+
*/
|
|
1082
|
+
limit?: number;
|
|
1083
|
+
};
|
|
1084
|
+
/**
|
|
1085
|
+
* failed_jobs without action
|
|
1086
|
+
*/
|
|
1087
|
+
export type failed_jobsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1088
|
+
/**
|
|
1089
|
+
* Select specific fields to fetch from the failed_jobs
|
|
1090
|
+
*/
|
|
1091
|
+
select?: Prisma.failed_jobsSelect<ExtArgs> | null;
|
|
1092
|
+
/**
|
|
1093
|
+
* Omit specific fields from the failed_jobs
|
|
1094
|
+
*/
|
|
1095
|
+
omit?: Prisma.failed_jobsOmit<ExtArgs> | null;
|
|
1096
|
+
};
|
|
1097
|
+
export {};
|
|
1098
|
+
//# sourceMappingURL=failed_jobs.d.ts.map
|